Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rup(1) [centos man page]

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)

Check Out this Related Man Page

RPC(5)							     Linux Programmer's Manual							    RPC(5)

NAME
rpc - RPC program number data base SYNOPSIS
/etc/rpc DESCRIPTION
The rpc file contains user readable names that can be used in place of RPC program numbers. Each line has the following information: name of server for the RPC program RPC program number aliases Items are separated by any number of blanks and/or tab characters. A '#' indicates the beginning of a comment; characters from the '#' to the end of the line are not interpreted by routines which search the file. Here is an example of the /etc/rpc file from the Sun RPC Source distribution. # # rpc 88/08/01 4.0 RPCSRC; from 1.12 88/02/07 SMI # portmapper 100000 portmap sunrpc rstatd 100001 rstat rstat_svc rup perfmeter rusersd 100002 rusers nfs 100003 nfsprog ypserv 100004 ypprog mountd 100005 mount showmount ypbind 100007 walld 100008 rwall shutdown yppasswdd 100009 yppasswd etherstatd 100010 etherstat rquotad 100011 rquotaprog quota rquota sprayd 100012 spray 3270_mapper 100013 rje_mapper 100014 selection_svc 100015 selnsvc database_svc 100016 rexd 100017 rex alis 100018 sched 100019 llockmgr 100020 nlockmgr 100021 x25.inr 100022 statmon 100023 status 100024 bootparam 100026 ypupdated 100028 ypupdate keyserv 100029 keyserver tfsd 100037 nsed 100038 nsemntd 100039 FILES
/etc/rpc RPC program number data base SEE ALSO
getrpcent(3) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 1985-09-26 RPC(5)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Time syncronization

Hello all, I would like to know if anybody ever had to do time syncronization between different Unix Flavours ( Solaris, AIX, HP-UX, Linux). I was thinking about using NTP. Anyone have a suggestion? Thanks in advance... HTT (3 Replies)
Discussion started by: htsubamoto
3 Replies

2. Shell Programming and Scripting

store output to a file and read from it

Hello all, I need to run snoop command for a period of time (a day) and extract remote host column from it to find out who is accessing my server. When I run the following on the command line it works snoop -port 22 | awk '{print $3}' but when I do snoop -port 22 | awk '{print $3}' | while... (2 Replies)
Discussion started by: afadaghi
2 Replies

3. Shell Programming and Scripting

Pulling data and following lines from file

I saw a few posts close to what i want to do, but they didn't look like they would work exactly.. or I need to think out of the box on this. I have a file that I keep server stats in for my own performance analysis. this file has the output from many commands in it (uptime, vmstats, ps, swap... (2 Replies)
Discussion started by: MizzGail
2 Replies

4. UNIX for Dummies Questions & Answers

Top 'user' reaches 100% many times

Actually, I have 2 questions. At this moment I am running a site which has a lot of visitors. The current server has some problems with running, and I'dd like to see if I can optimize the code to prevent having to upgrade the server. At this moment if I type 'top' on the unix server I see a... (5 Replies)
Discussion started by: Wexxl
5 Replies

5. UNIX for Advanced & Expert Users

load monitor script

I need help in finding a script to monitor loads for 8+ servers on a single console. The goal here is to centralize it and run the script from a single server. Can anyone help on this? Im running this script on each server to monitor the load. while true; do w | grep average | grep -v grep... (7 Replies)
Discussion started by: locabuilt
7 Replies

6. Shell Programming and Scripting

printing output more than 13

i want to print the idle time of the users more than 10 days. for eg: my "w" command output is like below. -sh-3.00$ w 03:47:41 up 13 days, 16:59, 3 users, load average: 10.00, 10.00, 10.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root :0 - ... (2 Replies)
Discussion started by: Krrishv
2 Replies

7. UNIX for Dummies Questions & Answers

Xbrowser/Xmanager question

In the Xbrowser window, under status column, i see the following: 2 users, load: 3.7, 3.7, 3.7 What does "load" mean exactly, and the three numbers? Thanks! (4 Replies)
Discussion started by: Deanne
4 Replies

8. UNIX for Advanced & Expert Users

start rstatd deamon on unix

Hi, How can I start the rstatd deamon, and how can know if this is actually runing? (4 Replies)
Discussion started by: toto2000ff
4 Replies

9. Shell Programming and Scripting

Perl Help

Hi 9:26pm up 551 days, 5:52, 19 users, load average: 1.51, 1.70, 1.77 From the above output i want to extract the last three floating numbers(1.51, 1.70, 1.77) in a perl script. can anybody help how would be regular expression... Reply ASAP :) (4 Replies)
Discussion started by: Harikrishna
4 Replies

10. Shell Programming and Scripting

Help with variable name

Hi I have output from a program like this average load 14 10 10 8 4 2 I would like an output like this load1 14 load2 10 load3 10 load4 8 load5 4 load6 2 load7 load8 load9 load10 More number are added behind when load increase (max 10) I can easy make this with doing the same... (4 Replies)
Discussion started by: Jotne
4 Replies

11. Web Development

Page load time- local page

Hi Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally. Any ideas? Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies

12. Shell Programming and Scripting

Print all Host on local network

Hello guys, I would like to develop a script which takes a host name as argument and displays a message whether the host is on the local network or not. How can I accomplish that? Is there a file or command that I can use to list all host on the local network? :confused: (4 Replies)
Discussion started by: Learn4Life
4 Replies

13. UNIX for Advanced & Expert Users

Sort + and -

I was reading this guide. Linux Sort - Linux Commands I created a company.data file with: Jack Arta 250000 Indonesia Bay Ching 500000 China Cruella Lumper 725000 Malaysia I noticed simple cases like this are the same sort +1 -2 company.data sort -k2 company.data sort -r +2 -3... (2 Replies)
Discussion started by: cokedude
2 Replies

14. Shell Programming and Scripting

Bash script affect load average

Hello I have created next scritpt to do the next: chekp if host is alive. When the host down, launch telnet other equip to do checks. When execute the script the load average of the machines increase. For example: Before launch script top - 11:14:56 up 14 days, 18:06, 3 users, load... (3 Replies)
Discussion started by: capilla
3 Replies

15. Shell Programming and Scripting

Issue with awk command between Linux and Solaris

Hi, Here is the output using bash profile on Linux uptime 04:59:14 up 16 days, 4:48, 2 users, load average: 1.00, 1.00, 1.20 Here is the output using bash profile on Solaris uptime 4:00am up 84 day(s), 22:21, 3 users, load average: 0.09, 0.10, 0.12 Now,... (4 Replies)
Discussion started by: mohtashims
4 Replies