Find - battery life, CPU Usage,Wireless Signal Level , Congestion Level
I need a script in any language php or perl or even basic unix shell script to find the cpu usage battery life congestion level and the wireless signal level.
i have one for battery i want for others
print read %/proc/acpi/battery/C138/state
There are many widgets available for that. but i just need one using scripting language so that i can use it in my project.
If all your tinkering amounts to just "print read something" then I really suggest you solve this yourself.
It's your project so facing the challenge makes you learn the most.
I'm looking for something like this as well. What I came up with didn't work as I expected it to.
In my .bashrc
And in my .zshrc
Right now I'm unhappy with either: I want when I press enter the PS2 prompt to update the current state but that doesn't happen; it keeps the last calcuated value. Even though its calculating correctly. The time is update but not that calculation
If for example in the .bashrc I type 'battery' it prints accordingly but I want it being displayed in teh PS2 header...
|All times are GMT -5. The time now is 03:56 AM.|