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)
I need to put the following line in inetd.conf:
stats stream tcp nowait nobody /usr/local/bin/mrtgsysinfo mrtgsysinfo
but my version of linux don't seem to allow that, ie there is no inetd.conf. How do i set that up in linux (red hat enterprise 3). (15 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)
guy's
How to start rstatd Daemon on AIX 6.1
as I enable it from etc/inetd.conf
then I refreshed it by this command refresh -s inetd but stil is not Active !
can some one advice in this ! (7 Replies)
Hi there,
We have a Solaris 10 machine which has been up and running for more than 400 days. A strange behaviour happened. The system date defaulted to epoch timestamp. Oracle stopped and application failed causing management to parade. We managed to reset the date. All other servers and... (8 Replies)
Dear All,
Required a script which will check the PING response from my source file(tmp/PingStatus.txt) containing the hostnames.
If ping response is not responding(i.e when hostname is not alive) then this cmd to be executed :
opcmsg object=PING a=OS msg_grp=win-ping severity=critical... (20 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)
hi all,
i'm trying to create a script inorder to put load test on hard drives.
first i create 30GB file
dd if=/dev/zero of=50gb.img bs=5gb count=10
then i'd like to create 100 loops continuous until it fills up.
once its done delete file.
this is where i'm stuck for for loops.
can... (18 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)