06-18-2012
That doesn't exactly give me the output I would like, since I'm having xentop display the cpu every second and I want the time displayed each time since I want to later extract all the data and place it into an excel sheet.
8 More Discussions You Might Find Interesting
1. Programming
Hi All,
Urgent! Just a newbie needing advice.
Has anybody have a sample C script code in Unix to display time with milliseconds?
Most of the research I'm doing is up to the seconds format only.
Thanks!
Leidail (3 Replies)
Discussion started by: rezlez
3 Replies
2. Solaris
Hi Friends,
Can any one guide me regarding 'Display the date and time' command other than the command 'date'
thanks n regards
SsRrIi (1 Reply)
Discussion started by: SsRrIi
1 Replies
3. Shell Programming and Scripting
Hi all,
may i know how to display time in minutes and seconds(may be milliseconds and even smaller that ) in shell scripts.... (1 Reply)
Discussion started by: santy
1 Replies
4. Shell Programming and Scripting
i an trying to display current time in the expect script. it works fine in normal shell script but does not in expect. can anybody help me with the synatx to display it. (2 Replies)
Discussion started by: iamcool
2 Replies
5. Shell Programming and Scripting
hey folks,
i am stuc in this problem. You all might help me out.
I want to write a BASH script to display time every 15 seconds using %r field descriptor. And want to clear the window each time before displaying time using clear command. Please help me out (3 Replies)
Discussion started by: manojrsb
3 Replies
6. Shell Programming and Scripting
Hi there,
I would write a bash script to format then create a range of folder (folder name is number) to a usb stick.
for numbers in $(seq -w 001 999)
do
pause "Press any key to start"
mkfs.vfat -F32 /dev/sdc1
mount /dev/sdc1 /media/usb
mkdir /media/$numbers
umount /dev/sdc1... (8 Replies)
Discussion started by: wayneliao38
8 Replies
7. Post Here to Contact Site Administrators and Moderators
Write a script named time that displays the time in standard 12-hour format, rather than 24-hour format. Allow the user to give a -m option to get 24-hour format. For example:
> date
Sun Feb 10 10:56:50 CST 2008
> time
10:56 AM
> date
Sun Feb 10 21:57:07 CST 2008
> time
9:57 PM
>... (0 Replies)
Discussion started by: satish24
0 Replies
8. Shell Programming and Scripting
In the below perl executes if one file is processed perfect. However, when multiple files are processed in batch which is preferred I get the below error that I can not seem to fix it as the '' necessary for the command to execute, but seem to only work for one -arg option. Thank you :).
... (2 Replies)
Discussion started by: cmccabe
2 Replies
xentop(1) General Commands Manual xentop(1)
NAME
xentop - displays real-time information about a Xen system and domains
SYNOPSIS
xentop [-h] [-V] [-dSECONDS] [-n] [-r] [-v] [-b] [-iITERATIONS]
DESCRIPTION
xentop displays information about the Xen system and domains, in a continually-updating manner. Command-line options and interactive com-
mands can change the detail and format of the information displayed by xentop.
OPTIONS
-h, --help
display help and exit
-V, --version
output version information and exit
-d, --delay=SECONDS
seconds between updates (default 3)
-n, --networks
output network information
-x, --vbds
output vbd block device data
-r, --repeat-header
repeat table header before each domain
-v, --vcpus
output VCPU data
-b, --batch
output data in batch mode (to stdout)
-i, --iterations=ITERATIONS
maximum number of iterations xentop should produce before ending
INTERACTIVE COMMANDS
All interactive commands are case-insensitive.
D set delay between updates
N toggle display of network information
Q, Esc quit
R toggle table header before each domain
S cycle sort order
V toggle display of VCPU information
Arrows scroll domain display
AUTHORS
Written by Judy Fischbach, David Hendricks, and Josh Triplett
REPORTING BUGS
Report bugs to <xen-tools@lists.xensource.com>.
COPYRIGHT
Copyright (C) 2005 International Business Machines Corp
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
August 2005 xentop(1)