Author |
Message |
Botanic

Joined: 05 Sep 2007 Posts: 241 Location: Toulouse, France
|
Posted: Sat 22 Dec 2007, 17:37 Post subject:
can't run 'top' any longer |
|
for some reason i get the following message :
Code: | top: failed to read 'loadavg' |
(top worked correctly first)
browsing the web didn't help me to fix it, i just found out that it refers to proc/loadavg
how to remedy to this problem?
|
Back to top
|
|
 |
alienjeff

Joined: 08 Jul 2006 Posts: 2291 Location: Winsted, CT - USA
|
Posted: Sat 22 Dec 2007, 22:29 Post subject:
|
|
In a terminal, type:and see if any load info is displayed.
You didn't happen to, uh ... change anything in your installation recently, did you? If so, please advise.
_________________ hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker
|
Back to top
|
|
 |
Botanic

Joined: 05 Sep 2007 Posts: 241 Location: Toulouse, France
|
Posted: Sun 23 Dec 2007, 06:34 Post subject:
|
|
Code: | # cat /proc/loadavg
0.14 0.16 0.10 2/45 2173 |
no i didn't change anything in the installation... and i never go messing around with /proc and /dev
|
Back to top
|
|
 |
alienjeff

Joined: 08 Jul 2006 Posts: 2291 Location: Winsted, CT - USA
|
Posted: Sun 23 Dec 2007, 10:25 Post subject:
|
|
Okay ... /etc/loadavg at least exists! That's a start. Now at the command line, type: uptime to see if the load averages are listed in the response.
_________________ hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Sun 23 Dec 2007, 15:01 Post subject:
|
|
I had the same problem until I installed Puppy 3.00
_________________ Stardust resources
|
Back to top
|
|
 |
alienjeff

Joined: 08 Jul 2006 Posts: 2291 Location: Winsted, CT - USA
|
Posted: Sun 23 Dec 2007, 15:54 Post subject:
|
|
Thanks Ziebert - which leads me to query Botanic, what version of Puppy are you using?
_________________ hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker
|
Back to top
|
|
 |
Botanic

Joined: 05 Sep 2007 Posts: 241 Location: Toulouse, France
|
Posted: Thu 27 Dec 2007, 16:04 Post subject:
|
|
thanks alienjeff for your answers
i use Puppy 2.16.1, and 'uptime' does show the load average
Code: | # uptime
21:03:16 up 16 min, load average: 0.33, 0.36, 0.25 |
|
Back to top
|
|
 |
Botanic

Joined: 05 Sep 2007 Posts: 241 Location: Toulouse, France
|
Posted: Mon 07 Jan 2008, 18:20 Post subject:
|
|
surprise! 'top' is working again some other weird things seem to happen with my Puppy, but always of minor importance.
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
|
Posted: Mon 07 Jan 2008, 19:15 Post subject:
|
|
its a language problem.
run top from such a script if you get that loadavg error:
/usr/local/bin/mytop
Code: | #!/bin/bash
export LANG=C
top
|
Mark
|
Back to top
|
|
 |
Thor
Joined: 21 Feb 2007 Posts: 41
|
Posted: Fri 18 Jan 2008, 15:59 Post subject:
|
|
Hello everybody:
Sorry for any errors language (I speak Spanish)
In 2.17.1 puppy to initiate "top" window opens and closes quickly.
Writing in console:
# Export LANG = C
# Top
Presents all data on the console.
How do you boot from the menu?
"mytop" does not exist.
Thanks.
Thor
|
Back to top
|
|
 |
|