Reply
Thread Tools
Posts: 72 | Thanked: 5 times | Joined on Dec 2009 @ USA
#1
Is there some basic instruction for xterminal commands such as system info, power usage etc. Where would someone find these?
 
Posts: 29 | Thanked: 6 times | Joined on Oct 2009
#2
Might be overkill if you're unfamiliar with the command line, but this url seemed to have a bunch (look under the system information header):

http://www.pixelbeat.org/cmdline.html

Most information can be found in the /proc directory, you just need to know where to look. There's not really a master command to come back with all system information, that's what GUIs are for
 

The Following 3 Users Say Thank You to mattmull For This Useful Post:
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#3
I'd be interested to know how to use xterm to get info about power usage too!

Some easy commands to get basic info about the state of the device:

uptime

- tells how long the device is booted for, and how busy it is

free

- show memory use (RAM and swap)

df

- show how full the storage is

top

- updated display of running processes statistics. By default it shows processes using most CPU at the top. Press m to sort by memory use. Use ctrl-c when you've had enough.

You might need to do some extra reading to interpret the output of these commands.. there is plenty information on the web, e.g: http://salomie.ro/wiki/index.php/Linux_Free_Command (or just google: linux free command, etc.)

Edit: Oh, see also: http://talk.maemo.org/showthread.php...ight=xterminal

Last edited by kwotski; 2009-12-02 at 00:29.
 

The Following 3 Users Say Thank You to kwotski For This Useful Post:
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#4
Originally Posted by backwoods View Post
Is there some basic instruction for xterminal commands such as system info, power usage etc. Where would someone find these?
Try this for starters...

>> http://tldp.org/LDP/www.debian.org/d.../user/ch6.html

...and then this for a directory structure that's pretty close to what's used with Maemo.

>> http://www.debianadmin.com/linux-dir...-overview.html

If you run into any problems someone will help you out if you post
what you want to do and how you are trying to do it.
I found that including "how you are trying to do it" will get a better response than just asking how. It provides a starting point for help.
 

The Following 2 Users Say Thank You to YoDude For This Useful Post:
Posts: 72 | Thanked: 5 times | Joined on Dec 2009 @ USA
#5
the top command is great for a beginner thanks
it is showing cpu running at 22% with songs playing and some other apps. over all i am thinking this is pretty good I have some programs that has not made it out of the box yet but appears to be working on my system ok such as

Personal IP Address
Personal Photo Frame
Quicknote
Recorder
syesteminfowiget
xournal
conboy

At the beginning had some issue with the device not shutting down correctly but after I found the offline mode and removed deval-extras. I have not had to many any uses
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#6
Originally Posted by backwoods View Post
Is there some basic instruction for xterminal commands such as system info, power usage etc. Where would someone find these?
I woud like to know where to find power usage info
myself. (Been using unix shells for over 20 years.)

The Openmoko Freerunner provides quite a bit of
power information, such as voltage, current, temperature, and capacity for the battery. The battery current is negative when charging.
Most of this information is in various subdirectories in /sys/devices/platform

The n900 has plenty of directories in /sys/devices/platform, but I haven't found any power status yet.
 
Posts: 48 | Thanked: 22 times | Joined on Jan 2008
#7
df is much better as
df -h
Sane units FTW!
But maybe somebody out there still likes in it byes ^_~
 
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#8
LXer.com aggregated an article about this a few weeks ago entitled Top 3 Sites to Help You Become a Linux Command Line Master. Perhaps you'll find it useful.
 
Renesis's Avatar
Posts: 47 | Thanked: 36 times | Joined on Oct 2009
#9
Originally Posted by ashes View Post
df is much better as
But maybe somebody out there still likes in it byes ^_~
I'll take it in nibbles myself.
__________________
Tiny text... Tiny Ninja-sized text.
 
Posts: 67 | Thanked: 28 times | Joined on Oct 2009 @ Switzerland
#10
Originally Posted by j.s View Post
I woud like to know where to find power usage info
myself. (Been using unix shells for over 20 years.)

The Openmoko Freerunner provides quite a bit of
power information, such as voltage, current, temperature, and capacity for the battery. The battery current is negative when charging.
Most of this information is in various subdirectories in /sys/devices/platform

The n900 has plenty of directories in /sys/devices/platform, but I haven't found any power status yet.
powertop shows you the poower usage, at least on the PC. I haven't got a device yet, so I can't tell what it looks like exactly on the N900.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:40.