rdate(1M) System Administration Commands rdate(1M)NAME
rdate - set system date from a remote host
SYNOPSIS
rdate hostname
DESCRIPTION
rdate sets the local date and time from the hostname given as an argument. You must have the authorization solaris.system.date on the local
system. Typically, rdate is used in a startup script.
rdate requests are responded to by the "time" service on the specified host. To enable the "time" service, use the following commands:
svcadm enable time:stream
svcadm enable time:dgram
USAGE
The rdate command is IPv6-enabled. See ip6(7P).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcmdc |
+-----------------------------+-----------------------------+
SEE ALSO inetd(1M), inetd.conf(4), attributes(5), ip6(7P)SunOS 5.11 16 Mar 2006 rdate(1M)
Check Out this Related Man Page
rdate(1M) System Administration Commands rdate(1M)NAME
rdate - set system date from a remote host
SYNOPSIS
rdate hostname
DESCRIPTION
rdate sets the local date and time from the hostname given as an argument. You must have the authorization solaris.system.date on the local
system. Typically, rdate is used in a startup script.
The inetd daemon responds to rdate requests. To enable inetd response, the lines invoking the time command in inetd.conf must not be com-
mented out.
USAGE
The rdate command is IPv6-enabled. See ip6(7P).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcmdc |
+-----------------------------+-----------------------------+
SEE ALSO inetd(1M), inetd.conf(4), attributes(5), ip6(7P)SunOS 5.10 15 Feb 2001 rdate(1M)
I need to know how to record the hostname, date/time and all of the process and send it all to one file. I know that the commands I need are hostname, date and ps but I don't know how to do them all and send them all to the same file. Please help! (1 Reply)
Could anyone help me on related commands in linux for viewing the current date of system & any command for changing the date of system.
Tanx
--nikk (1 Reply)
Hi.
I`m going to make i simple script which prints todays date an time in this format:
*****Todays date and time is <date>
How do I do this? I`m having problems getting it on the same line.
thanks. (3 Replies)
can someone help in how to enable rexecd on freebsd?
what i did: enable inetd in /etc/rc.conf
in /etc/inetd.conf unmarked exec service
when i do an netstat -a |grep LISTEN
is see
tcp4 0 0 *.printer *.* LISTEN
tcp6 0 0 *.printer *.* ... (0 Replies)
hello there,
currently fiddling around with unix commands to get a better understanding of coding in general (if that made sense) .. i was wondering if there was a command that inserted the date into a exisiting file, then having that edited file being called something else. (ie. file and... (3 Replies)
Hi Guys,
I need to script the renaming of files as followins:
files:
firstjd
secondjo
thirdjv
My script needs to insert the date/time infront of the last 2 characters of the filenames above, any ideas greatly received :)
the letters before the last 2 characters could change, I'm only... (7 Replies)
what is command to get same using ps with switch.
I know process id, by specify process id.
It should work on solaris and hp-ux
I will be happy if for both different commands. (2 Replies)
Hi all,
I have one problem on my sparcstation20, time stops when I turn off my station, where is the problem? do u think is the NVRAM is crashed? ( for example, I turn off my station at 11:00, when I turn on the next day, I found time on 22:20)!!!
please help me thank's for All (9 Replies)
how can I get the process start date and time?
using ps command i can get the timstamp for a process, which are started today. and only date (MMM DD) for others.
i need to get both for all the running process.
please help.
Regards,
Jagadeeswaran.K (7 Replies)
Hi,
Iam trying to convert date and time to milliseconds which iam using in a script on Sun Solaris.
I have searched the posts on the forum but i could not get any solution.
The format iam using in script is:
date -u "Thu Dec 24 00:01:00 EST 2009"
But i get a bad command error.
... (6 Replies)
Hi,
Is it possible to enable the time service in local zones?
E.g.
erahmanz1% svcs -a | grep -i time
STATE STIME FMRI
disabled Sep_10 svc:/network/daytime:dgram
disabled Sep_10 svc:/network/daytime:stream
disabled Sep_10 svc:/network/time:dgram... (2 Replies)
Hello everyone
I am currently exploring the different time keeping commands in linux. and I having a lot of trouble figuring out the advantages and disadvantages of using daytime command rdate and hwclock and such commands.
Can someone link me to good articles or just give me the answer (5 Replies)
Hi (again)
This time I need to prompt user to enter a string which is actually a file name which will be used within the script to run
.eg
./script
PLease enter date
I then need to use this date in the script. I know its somthing to do with assigning $<xxxx> but unsure how to do it.... (0 Replies)
My file looks like this....
User:SYSTEM,O/S User:oracle,Process:3408086,Machine:hostname ,Program:sqlplus@hostname (TNS V1-V,Logon Time:25-JUL-20
14 13:36
I want to get the date and time which is displayed after the 'Logon time'. (5 Replies)