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)
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 have the following script. I am trying to get the date time when an empty file was created. In my situation if an empty file is created it won't be touched again. At the end of the script I state the problem- the
#!/bin/ksh
#Source the file
. $HOME/.profile
typeset -L100 fname
typeset... (13 Replies)
Hi,
I am trying to run a process through inetd using ksh.
The entry in /etc/inetd.conf is
Process_Name tcp nowait root /home/user/script script
The script is as follows
/usr/bin/ksh -c /path/process
Recycling inetd services is successfully completed.
But when the process is accessed... (8 Replies)
Hi,
I'd want to enable ftp logging on a SunOS 5.9 machine. I've read some guides I've found on the Internet but, in the syslog file, I stil not have information about that.
In the /etc/inetd.conf I have this line:
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -d
... (8 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)
# date;ps -ef|grep confused.
Tue Dec 13 11:11:22 EST 2005
root 12847 12733 0 11:21 pts/83 00:00:00 grep confused.
I am really confused on why my ps and my date command are returning different values for the time. Anyone know how to resolve this?
Running FC2, if it helps. (14 Replies)
:confused: Hi there.
Hi frndz,
I have to script a shell in such a way that by giving the current date, it should give the previous saturday date and next sunday date as output.
eg: Input - 01-01-2008
O/p -
last saturady- 30-12-2007(ddmmyy)
Next Sunday- 05-01-2008
... (14 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 All,
When i am trying to restart the inetd daemon it throughing error.
Please find the message and tell me what i need to do ?
Apr 7 22:57:37 HYDOHS01 inetd: ISTATE not in environment
Apr 7 22:57:41 HYDOHS01 inetd: stop: No such file or directory
Apr 7 22:58:01 HYDOHS01 inetd: ... (5 Replies)
Hello All,
What I would like to do is search for a file and then run a mv command to rename the file to have todays date appended to it. The find when I run it finds eight or so files and I would like to append a date stamp to each file. If possible using one line command would be great. Can... (6 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)
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, Here is the questions: inetd on this Solaris 10 zone fails to start at boot time. Inetd has 4 dependents not started. These 4 dependents have their own dependents not started. How it happened? How can I use one or a few command to start inetd and all its dependents and dependents' dependents?... (11 Replies)
Hello all,
I`ve the following problem - I cannot start inetd in any way possible:
bash-3.00# svcs inetd
STATE STIME FMRI
offline Jul_30 svc:/network/inetd:default
bash-3.00#
bash-3.00# svcadm enable -r inetd
bash-3.00# svcs inetd
STATE STIME FMRI... (6 Replies)
Hi
I've write a script that can bring file from remote location
sftp file from remote location
compare file date with file header date
Source and Destination file size compare
Change file permission to 770
Log generate in every step and display only error msg and successful msg
... (8 Replies)
Dear all experts,
I would like to know where can I find the hostname located as when I receive the syslog, I can only see as below : (showing in localhost instead of the hostname)
Feb 6 15:31:31 localhost syslog:info syslogd: restart
Feb 6 15:31:50 localhost syslog:info syslogd: restart
Feb... (13 Replies)