This is a discussion on Lack of options with the prog time within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Anyone know, why the time prog in slack 9.1 will not accept options, not even --help. The file installed ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Anyone know, why the time prog in slack 9.1 will not accept options, not even --help. The file installed is about 10k and does not work properly. It will time an event but does not accept any of the usual options. However, if you use the sources from the cd set and compile from that you get a 60k fully functioning time prog. Any one know why the time prog would be intentionally crippled. ken |
| |||
| On Sun, 18 Apr 2004 17:51:52 GMT, Kenneth <Kenneth@pickone.anyone> wrote: > Anyone know, why the time prog in slack 9.1 will not accept options, not > even --help. When you run time, are you sure you're running /usr/bin/time and not bash's time builtin? /usr/bin/time's output looks like this: 0.00user 0.02system 0:00.01elapsed 125%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (175major+25minor)pagefaults 0swaps bash's time builtin's output looks like this: real 0m0.023s user 0m0.010s sys 0m0.010s > The file installed is about 10k and does not work properly. It will time an > event but does not accept any of the usual options. I can use /usr/bin/time with options without problems here. (Slackware -current) > However, if you use the sources from the cd set and compile from that you > get a 60k fully functioning time prog. When I compile from sources, I get a time binary that's about 20K. Once I use strip(1), the binary size goes down to ~10k. The bin.Slackbuild file also strips the time binary, so perhaps this accounts for the size difference you're seeing. -- Mark Hill <usenet@mark.ukfsn.org> (devnull address not read) GPG KeyID: 4A3B58AC |
| ||||
| On 2004-04-18, Mark Hill <devnull@mark.ukfsn.org> wrote: > On Sun, 18 Apr 2004 17:51:52 GMT, > Kenneth <Kenneth@pickone.anyone> wrote: >> Anyone know, why the time prog in slack 9.1 will not accept options, not >> even --help. > > When you run time, are you sure you're running /usr/bin/time and not > bash's time builtin? That's the problem! I'm calling bash's time not the one in /usr/bin > > When I compile from sources, I get a time binary that's about 20K. Once > I use strip(1), the binary size goes down to ~10k. The bin.Slackbuild > file also strips the time binary, so perhaps this accounts for the size > difference you're seeing. Strip brings my 64k file down to 10k as well. Thanks, the help it's appreciated. ken |
| Thread Tools | |
| Display Modes | |
|
|