.\" -*- nroff -*- .\" .\" Copyright (c) 1985, 1991 The Regents of the University of California. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by the University of .\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" $Id: rup.1,v 1.2 1999/08/15 22:56:35 al Exp $ .\" .Dd 1999. augusztus 15. .Dt RUP 1 .Os "Linux netkit-rusers 0.15" .Sh NÉV .Nm rup .Nd távoli állapot kijelző .Sh ÁTTEKINTÉS .Nm rup .Op Fl dhlt .Op Ar host ... .Sh LEÍRÁS Az .Nm rup összefoglalást ír ki egy adott .Em host vagy a lokális hálózaton lévő összes host pillanatnyi állapotáról. A kimenetről leolvashatjuk a jelenlegi időt, hogy milyen rég óta működik a gép ("uptime") és a terhelés átlagát ("load average"). Az átlagos terhelésnél leovasott számok megadják a "run queue"-ban lévő processzek számát 1, 5 és 15 percre átlagolva. .Pp A következő opciók használhatók: .Bl -tag -width indent .It Fl d Minden host lokális idejét jelzi ki. Ez akkor hasznos, ha ellenőrizni akarjuk a hálózaton történő idő szinkronizálást. .It Fl h A kimenetet hostnevek alapján rendezi .It Fl l A kimenetet terhelés alapján rendezi. .It Fl t A kimentet az eltelt "uptime" azaz működési idő alapján rendezi. .El .Pp Ahhoz hogy ez a parancs működjön, az .Xr rpc.rstatd 8 démonnak futnia kell a távoli gépeken. Az .Nm rup egy RPC protokolt használ, melyet a /usr/include/rpcsvc/rstat.x fájlban defináltak. .Sh PÉLDÁK .Bd -unfilled -offset indent -compact example% rup otherhost otherhost up 6 days, 16:45, load average: 0.20, 0.23, 0.18 example% .Ed .Sh DIAGNOSZTIKA .Bl -tag -width indent .It rup: RPC: Program not registered Az .Xr rpc.rstatd 8 démont nem indították el a távoli hoston. .It rup: RPC: Timed out Kommunikációs hiba történt. Vagy nagyon le van terhelve a hálózat, vagy az .Xr rpc.rstatd 8 démon meghalt a távoli gépen. .It rup: RPC: Port mapper failure - RPC: Timed out A távoli gépen nem fut a portmapper (lásd .Xr portmap 8 ), így nem tud RPC alapú szolgáltatásokat nyújtani. Lehet hogy a host nem működik. .El .Sh LÁSD MÉG .Xr ruptime 1 , .Xr portmap 8 , .Xr rpc.rstatd 8 .Sh TÖRTÉNETE Az .Nm rup parancs .Tn SunOS-ben jelent meg. .Sh MAGYAR FORDÍTÁS Kovács Emese