Hi I have a process generating a file in Solaris. Now we have migrated the process to Linux. When we open the file in vi on solaris and hit space bar, it stops after reaching the end of line. But in linux it continues to go on the next line. So I want to know whether the difference is between the... (4 Replies)
Hi,
I am issuing find command below mentioned ways but it givs different count. I don't understand the behaviour. Could any one have any clue?
$ find . -mtime -5 -maxdepth 1 -exec ls -lrt {} \; | wc -l
169
$ find . -mtime -5 -maxdepth 1 | wc -l
47
$ find . -mtime -5 -maxdepth 1 | wc -l... (2 Replies)
I ran one the script in debug mode in linux and have a problem
ret='$prmAttunityUser=ais'
Now i need to remove $ from this '$prmAttunityUser=ais' so i had added a sed command like this sed 's/$//g' but its not working could you all please help me with an alternate command
I want the output... (3 Replies)
Hi,
awk -v is having issue in sun solaris, however the same works fine in HP Superdome. Pls advise what to do, while executing below command in SunOS.
echo "this is saurabh"|awk -v a="SAURABH" '{ print a }' (2 Replies)
Hi,
:wall:
I am not able to run any utility command in Redat, Please see the below example and suggest me how I shall run this type of command.
$ su
Password:
# ifconfig
bash: ifconfig: command not found
# which ifconfig
/usr/bin/which: no ifconfig in... (3 Replies)
Hello Gurus,
I am trying to set up bidirectional password-less login between a linux and a Solaris. The way I am doing is very simple, which is creating pub/priv key pairs on each host and add the pub key to each other's authorized_keys file:
ssh-keygen -t rsa (I tried dsa, and it didn't work... (4 Replies)
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Hi ,
I am trying to execute the below command, i got error msg..
Please advice me how to solve this
See, When i raised psr cmd., then i got error like above ,
Please help on this
THanks
Mani (0 Replies)
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
LEARN ABOUT CENTOS
rup
RUP(1) BSD General Commands Manual RUP(1)NAME
rup -- remote status display
SYNOPSIS
rup [-dshlt] [host ...]
DESCRIPTION
rup displays a summary of the current system status of a particular host or all hosts on the local network. The output shows the current
time of day, how long the system has been up, and the load averages. The load average numbers give the number of jobs in the run queue aver-
aged over 1, 5 and 15 minutes.
The following options are available:
-d For each host, report what its local time is. This is useful for checking time syncronization on a network.
-s Print time data in seconds (seconds of uptime or seconds since the epoch), for scripts.
-h Sort the display alphabetically by host name.
-l Sort the display by load average.
-t Sort the display by up time.
The rpc.rstatd(8) daemon must be running on the remote host for this command to work. rup uses an RPC protocol defined in
/usr/include/rpcsvc/rstat.x.
EXAMPLE
example% rup otherhost
otherhost up 6 days, 16:45, load average: 0.20, 0.23, 0.18
example%
DIAGNOSTICS
rup: RPC: Program not registered
The rpc.rstatd(8) daemon has not been started on the remote host.
rup: RPC: Timed out
A communication error occurred. Either the network is excessively congested, or the rpc.rstatd(8) daemon has terminated on the
remote host.
rup: RPC: Port mapper failure - RPC: Timed out
The remote host is not running the portmapper (see portmap(8) ), and cannot accomodate any RPC-based services. The host may be down.
SEE ALSO ruptime(1), portmap(8), rpc.rstatd(8)HISTORY
The rup command appeared in SunOS.
Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)