Simple Instruction for Xterminal
Is there some basic instruction for xterminal commands such as system info, power usage etc. Where would someone find these?
|
Re: Simple Instruction for Xterminal
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 :) |
Re: Simple Instruction for Xterminal
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 |
Re: Simple Instruction for Xterminal
Quote:
>> 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. :) |
Re: Simple Instruction for Xterminal
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 |
Re: Simple Instruction for Xterminal
Quote:
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. |
Re: Simple Instruction for Xterminal
df is much better as
df -h Sane units FTW! But maybe somebody out there still likes in it byes ^_~ |
Re: Simple Instruction for Xterminal
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.
|
Re: Simple Instruction for Xterminal
Quote:
|
Re: Simple Instruction for Xterminal
Quote:
|
Re: Simple Instruction for Xterminal
Quote:
The lshal -command gives one item that is battery.charge_level.percentage. I wrote a quick shell script for fetching just the percentage from it: lshal | grep battery.charge_level.percentage | awk '{print $3}' I put it in /usr/bin/bat using vi and chmodded it 755. Now I can write "bat" anywhere in the terminal and get the batterylevel. Too bad it only works when your device is not charging. When it's connected to a charger it shows 0. |
Re: Simple Instruction for Xterminal
it would be great if someone gives advices how to change passwd in XTERMINAL,i was trying get some apps trhough terminal but it asks me PASSWORD,what is the pwassword for XTERMINAL,,,!??? O_o
Thanx !!! |
| All times are GMT. The time now is 21:03. |
vBulletin® Version 3.8.8