Sponsored Content
Top Forums Shell Programming and Scripting Xentop Batch Time Display Help Post 302658111 by spacebar on Monday 18th of June 2012 09:28:08 PM
Old 06-18-2012
Can you just write a timestamp to the file before you call Xentop:
Code:
echo `date` >> timestamp.txt

 

8 More Discussions You Might Find Interesting

1. Programming

Help! Display Time with Millisecond

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

display date n Time

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

how to display time in minutes n seconds...

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

display TIME - help

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

script to display time

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

Batch write multiple usb in same time

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

Display time in 12 hr format

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

Perl error in batch command but works one at a time

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
xrestop(1)						      General Commands Manual							xrestop(1)

NAME
xrestop - monitor server resources used by X11 clients SYNOPSIS
xrestop -help xrestop [ -display display ] [ --batch ] [ --delay-time seconds ] DESCRIPTION
Xrestop uses the X-Resource extension to provide 'top'-like statistics of each connected X11 client's server-side resource usage. It is intended as a developer tool to aid more efficient server resource usage and debug server-side resource leakage. OPTIONS
--help Show usage. --display, -d <display> Specify X11 display to monitor. --delay-time, -dt <seconds> Time in seconds between taking samples. Default is 2 seconds. --batch, -b Run in batch mode. Slightly more detailed infomation is streamed to stdout rather than the usual curses interface. This mode is intended for debugging a single client with something like xrestop -b | grep -A 14 appname --max-samples, -m <count> Specify number of times to gather and display results. Default is continuous, which can be set with 0 (zero). SEE ALSO
X(7), top(1). BUGS
The X-Resource extension is very new and may not be 100% accurate. AUTHOR
xrestop was written by Matthew Allum <mallum@handhelds.org>. xrestop(1)
All times are GMT -4. The time now is 11:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy