mattman has asked for the wisdom of the Perl Monks concerning the following question:
4:06pm up 14 days, 14:39, 2 users, load average: 1.97, 1.62, 1.54and I'd like it to just print the "14 days, 14:39" part. Because the spacing is generated dynamically, and I don't know enough C to change the code to create my own binary, anybody have any ideas on doing it in Perl? Thanks
Matt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: parsing output of uptime
by vroom (His Eminence) on Apr 21, 2000 at 00:25 UTC | |
|
Re: parsing output of uptime
by btrott (Parson) on Apr 21, 2000 at 00:19 UTC | |
|
Re: parsing output of uptime
by dsdisc (Initiate) on Apr 21, 2000 at 00:21 UTC | |
|
RE: parsing output of uptime
by Anonymous Monk on Apr 21, 2000 at 00:24 UTC | |
|
Re: parsing output of uptime
by subpop (Sexton) on Apr 21, 2000 at 04:54 UTC | |
|
RE: parsing output of uptime
by Anonymous Monk on Apr 21, 2000 at 04:47 UTC | |
|
Re: parsing output of uptime
by btrott (Parson) on Apr 21, 2000 at 10:58 UTC | |
|
RE: parsing output of uptime
by Anonymous Monk on Apr 21, 2000 at 15:44 UTC | |
|
Re: parsing output of uptime
by Maqs (Deacon) on Apr 22, 2000 at 15:10 UTC |