You are not logged in.
Im currently using awesome, its great except for one thing, there is no system monitor, like gnome-system-monitor for example. though I want something that dosent depend on gnome and displays remainning laptop battery time, aswell as mounted file systems, ram/cpu/network usage and a list of prosesses.
Offline
Have you tried Conky?
Offline
Maybe htop is what you are looking for.
Offline
Having htop open all the time in tiled mode looks really pretty, but it doesn't do some of the things you want.
Offline
I think conky is going to be your best bet.
Offline
awesomeness does some of the things you want. If you are an good Perl hacker you could modify it, to fit your needs.
Arch - It's something refreshing
Offline
Lots of things you can use really, but +1 for conky here.
A couple other options though are dzen and amazing although I have never used the latter.
Last edited by chimpyw (2008-08-03 22:42:20)
Offline
conky seems about right but the battery monitor dosent work porpaly. when plugged it says 'AC', but when its running on battery it always reports as 'full' insted of a percentage. then when the power is re-connected it always starts charging from 0%.
Offline
Here's what I'm using with dwm - probably good for dzen as well:
dwm-mystats.sh
#!/bin/zsh
# vim:ft=zsh ts=4
#
# (c) 2007 by Robert Manea
# Date format as recognized by standard system 'date'
SDATE_FORMAT='%Y-%m-%d %H:%M'
sdate() {
date +${SDATE_FORMAT}
}
sdfree() {
print -n `df -h / /home` | awk '{verf1=$11; part1=$13; verf2=$17; part2=$19}; END {print "["part1"] -"verf1" [~] -"verf2}'
}
smemused() {
awk '/MemTotal/ {t=$2}; /MemFree/ {f=$2}; END {print t-f " " t}' /proc/meminfo | dbar -w 6 -s '='
}
swapused() {
awk '/SwapTotal/ {t=$2}; /SwapFree/ {f=$2}; END {print t-f " " t}' /proc/meminfo | dbar -w 6 -s '='
}
sload() {
print -n ${(@)$(</proc/loadavg)[1,3]}
}
scpu() {
vmstat | awk '/0/ {print 100-$15}' | dbar -w 6 -s '='
}
snetabs() {
local iface
iface=`ifconfig | grep "Ethernet" | awk '{print $1}'`
if [ $iface != "" ] ; then
print -n "$iface: `mesure -l -i $iface -avK -c 2`||"
fi
}
snetbar() {
mesure -aK -c 2 -l -i `ifconfig | grep "Ethernet" | awk '{print $1}'` | dbar -nonl -w 6 -s '=' -min 0 -max 270
}
sac() {
case `awk '{print $2}' /proc/acpi/ac_adapter/AC/state` in
on-line)
print -n "yep"
;;
*)
print -n "no"
;;
esac
}
sbatt() {
local STATE
STATE=`cat /proc/acpi/battery/BAT0/state /proc/acpi/battery/BAT0/info`
case `echo $STATE | awk '/present:/{print $2}' - | tail -n 1` in
no)
print -n "no"
;;
*)
echo $STATE | awk '/design capacity:/ {f=$3}; /remaining capacity:/ {r=$3}; END {print 100*r/f"%"}' -
;;
esac
}
sgov() {
< /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
}
sfreq() {
awk '{print $1/1000}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
}
stemp() {
awk '{print $2}' /proc/acpi/thermal_zone/THRC/temperature
}
supdates() {
grep pkg.tar.gz /var/log/updates.log | wc -l
}
# Main
while true; do
upd=$(supdates)
if [ $upd = 0 ] ; then
print " AC: $(sac) | Batt: $(sbatt) || $(sdfree) || CPU:$(scpu) ($(sload)) | $(sgov) / $(sfreq) MHz -> $(stemp)° || $(sdate)"
else
print " AC: $(sac) | Batt: $(sbatt) || $(sdfree) || CPU:$(scpu) ($(sload)) | $(sgov) / $(sfreq) MHz -> $(stemp)° || $upd UPD. || $(sdate)"
fi
# change polling frequency in AC/BATT mode
case $(sac) in
yep)
sleep 8
;;
no)
sleep 1m
;;
esac
done
You can play around a bit with the functions that get called/displayed in the main loop. It depends on zsh and makes use of this cronjob (in /etc/cron.hourly/pacsync):
#!/bin/dash
pacman -Syup --noprogressbar > /var/log/updates.log
Offline
I have this little program sending me info to the dwm bar. From the things you listed, it just doesn't show BATTERY usage and a list of processes, that would be harsh...
http://bugflux.org/bugdev/dwmstat/dwmstat.c
Note that some info might not work in your computer because I wrote this to my hardware and configurations...
If you really need to see the list of processes, you should consider something like htop running in a console...
Offline