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'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)
this is my script:
TZ=`date +%Z`+24 ;a=`date +%Y-%m-%d`
cd /ednadtu3/u01/pipe/logs
for i in DBMaint.log
do
cat $i | grep $a >> /ednadtu3/u01/pipe/naveed/file12.txt
done
-------------------------------------------------------------------------------------
here i want to grep the... (10 Replies)
How can i assign a variable by the name of CUTDATE= today date - 90 days? i have something like this right now :-
today=`date '+%Y%m%d'`
#cutdate = this is where i am having problem. i need today - 90 days
How can i accomplish this? After that i need to do delete the data which are more... (16 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)
The following files were wiped out - new empty files were left in their place.
/etc/inittab, /etc/inetd.conf, and /etc/MANPATH
The system is running HP-UX 11i v3 - Mar08.
Anyone seen anything like this?
Any ideas on a way to figure this out if it happens again or a suggested way to... (9 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)
Hello Experts,
There is a log file which has date stamp, I just wanted to change the date automatically on daily basis when it runs.
Tried the below, but no luck.
grep -i error /var/bv1to1_var/logs/bv03.bectondickinson.com/bvlog.out.`date +\%Y\%m\%d` | tee error_bv03.doc
I would highly... (10 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)