On 02/20/15, Paul Quinn said the following...
PQ> Hi! Markus,
PQ>
PQ> On 20/02/2015 8:33 PM, you wrote to Darryl Perry:
PQ>
PQ> DP>> Each of those files exist, and the man for uptime does not exist.
PQ>
PQ> MR> I guess the next step is to download the procps package, extract upti
PQ> MR> and its man page and copy both to the correct locations.
PQ>
PQ> Behind curtain #2 lurks a bash script of the name 'uptime', which
PQ> extracts the top line of the "w" command output. It breaks nothing and
PQ> survives future OS upgrades... mmm... maybe. 8-)
That's a good option too. But I think that simply using 'w' sans wrapper
script has its own appeal. I was also getting around the uptime issue by
simply using top, since it has the same info.
"No matter where you go, there you are!" - Buckaroo Bonzai
--- Mystic BBS v1.10 A63 (Linux)
* Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (1:106/324)
|