MLUG: Re: [MLUG] Passing options to the time command
Re: [MLUG] Passing options to the time command
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Maybe kinda sorta soon.  ;)  I want to take the opportunity to reconfigure/rework/tighten up some things, so I've been using my home server as a sort of testbed before I go ripping things apart on mlug, and I think I now have a pretty good idea how I want to set up the new mlug box. I've already got the replacement hardware (except the disk -- anyone got a spare 300GB or so that they could part with?) so once I figure out a few remaining details it's just a matter of installing and configuring the OS (which shouldn't take very long, since I've got everything pretty well mapped out), removing the old box from the data center, migrating accounts (hopefully little more than quick rsync), and bringing the new box into the data center. I'll probably set aside a weekend over break to do the migration -- should be just the thing to chase winter boredom away  :)

Adam



Nowlin, Dan wrote:

Ah got it.  Thanks for the info Adam.  BTW when will the new MLUG server be ready?

 

Daniel Nowlin

TelCom DataCenter

 

From: EMAIL:PROTECTED [mailto:EMAIL:PROTECTED] On Behalf Of Adam Procter
Sent: Friday, November 02, 2007 23:41
To: MLUG Members
Subject: Re: [MLUG] Passing options to the time command

 

Nowlin, Dan wrote:

-----Original Message-----
 
 
You have got to be careful with commands like "time."  You think you
are
running something like the /usr/bin/time program, but you might be
running an internal shell command.  This is certain ly true if you are
using the csh or tcsh shell.  What does "which time" tell you?
 
But also, on my (admittedly FreeBSD) system, "man time" doesn't
    
mention
  
a -V option.  The same is also true on bengal.missouri.edu, which I
think is a Linux system.  So maybe the man page is messed up.
 
 
    
Not true.  I am looking at the man page for time on bengal.missouri.edu
(Red Hat) and it does have the -V option.  So does my FC4 box.  I think
it might be a bug in the time command because it does not take any
options.
  


Right, but observe:


[EMAIL:PROTECTED ~]$ /usr/bin/time -V
GNU time 1.7

[EMAIL:PROTECTED ~]$ time -V
-V: Command not found.
0.000u 0.000s 0:00.00 0.0%      0+0k 0+0io 0pf+0w

If you don't supply the full path, bash will use its built-in version of the command, which is less featureful (or doesn't support the -V flag, in any case).

Adam


_______________________________________________ members mailing list EMAIL:PROTECTED http://mlug.missouri.edu/mailman/listinfo/members

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members