08-05-2013
Look at the clock command, it requires TCL 8.5 or of course perl.
10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Dear UNIX Folks,
I guess everyone of us like to know what sysadmin typically do during his free time.
Not what he/she likes as an hobbies.. but what activities does he/she often indulge in other than facing the monitor.
Maybe we can come up this a better stereo-typed for sysadmin.
I... (8 Replies)
Discussion started by: izy100
8 Replies
2. Shell Programming and Scripting
Hi,
I need to get the date and time for past 1 hour from the current date. Anyone know how to do so?
Thanks (5 Replies)
Discussion started by: spch2o
5 Replies
3. Shell Programming and Scripting
hi ,
I would like to ask how to get past 5 minutes system time and date, if i have following to get current time.
# get current time
($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
$year = $year + 1900;
$mon = sprintf ("%02s",$mon+1);
$mday = sprintf ("%02s",$mday);
$hour =... (1 Reply)
Discussion started by: rauphelhunter
1 Replies
4. Solaris
Hello
I have a question that may sound stupid after and maybe it is.
We are syncing our sytem time via ntp from a reference time server. all works quite well
but due to a mall applikation which not accepts timestamps from our servers that in the future,
and if it even was 1 ms, we have to... (1 Reply)
Discussion started by: demwz
1 Replies
5. Shell Programming and Scripting
Hi guys,
Im trying to subtract time in ksh script. i.e. basically im querying a database and i want to get the time 10mins before hand..(from)
in ksh
CurrMin=$(date "+%M")
from=`expr $CurrMin - 10`
to=$CurrMin
however if i run this i say at 2 or 3 mins past the hour, i.e.... (7 Replies)
Discussion started by: k00061804
7 Replies
6. UNIX for Advanced & Expert Users
Hi
I trying to get 5 mins ago time using below command
echo `date +%R -d "1 min ago"`
but this is giving only current time. Please help (6 Replies)
Discussion started by: cka
6 Replies
7. UNIX and Linux Applications
One of my job is taking long running time.
I need to identify from the unix log file can you please help how to troubleshoot. (1 Reply)
Discussion started by: Nsharma3006
1 Replies
8. Shell Programming and Scripting
Hey everyone,
I need to select all files that were added to a specific directory in the past 5 mins and copy them over to a different directory. I am using HP-UX OS which does not have support for amin, cmin, and mmin. B/c of this, I am creating a temp file and will use the find -newer command... (7 Replies)
Discussion started by: mattkoz
7 Replies
9. UNIX and Linux Applications
Hi all,
I would like some help with a sendmail problem:
We have a new system comprising of 4 T7-1 servers, each hosting 5 LDOMs, all domains running Solaris 11.3
All emails sent from every one of these domains (including the control domains) sit in the queue for 3 mins 11 secs (sometime 3m 12s,... (11 Replies)
Discussion started by: Mysturji
11 Replies
10. Shell Programming and Scripting
Dears,
I am looking for a script which will work as a watch directory.
I ha directory which keep getting files in every 10 mins and some time delay.
I want to monitor if the directory getting the files in every 10 mins if not captured the last received file time and calculate the delay.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
LEARN ABOUT DEBIAN
genclock
GENCLOCK(1) General Commands Manual GENCLOCK(1)
NAME
genclock - generate a RADIANCE description of a clock
SYNOPSIS
genclock [ -f face_mat ][ -c case_mat ][ -n name ] { HH:MM | hours }
DESCRIPTION
Genclock produces a RADIANCE scene description of an analog clock showing the given hour. The hour may either be given as HH:MM or decimal
hours.
The face of the clock will have a radius of 1.0 units, with the surrounding case 1.1 (2.2 diameter). The origin is at the center of the
back, and the face looks in the positive X-direction. The 12 o'clock direction corresponds to the positive Z-axis. (The Y-axis direction
is 3 o'clock.) The xform(1) command may be used to resize and relocate the clock as desired.
Normally, genclock produces all of the materials necessary for its own description, but options are provided to specify alternate materials
for the face and case. The numbers on the face are in dark lettering, so the face material must be relatively light for them to show up
well. By default, the clock is given the name "clock," but this may be changed with the -n option.
EXAMPLE
To produce a 12 inch diameter clock showing 10:35 and hang it at 60 on a wall facing the Y-direction at Y=10:
genclock 10:35 | xform -s 6 -rz 90 -t 20 10 60
AUTHOR
Greg Ward
SEE ALSO
genrbox(1), genrev(1), gensurf(1), genworm(1), rpict(1), rvu(1), xform(1)
RADIANCE
4/9/97 GENCLOCK(1)