• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

/proc/stat -> Was steht drin?

Keepers

Advanced Hacker
Hi,

leider find ich bei Google keine genauen Informationen was in /proc/stat genau drinsteht.

Kann mir jemand helfen?
 
OP
K

Keepers

Advanced Hacker
Also bei mir steht da nix zu stat drin ?
Auch keiner der Eintraege die ich in /proc/stat finde...
 

admine

Ultimate Guru
gefunden:
stat - Liste allgemeiner Statistiken zum System. Dies beinhaltet eine Übersicht übe CPU-Belastung, Plattenein-/-ausgabe, Interrupts und Anzahl von gestarteten Prozessen.
cat /proc/stat

http://rowa.giso.de/german/mulinux-commands.html
 
OP
K

Keepers

Advanced Hacker
Gibts noch was zu den Eintraegen genau?

cpu
cpu0
usw. ?

Leider waren das Infos die ich schon hatte admine :(
 

TeXpert

Guru
der stat-Teil...

Code:
PROC(5)                                               Dateiformate                                              PROC(5)

BEZEICHNUNG
       proc - Prozess - Informationen in einem Pseudo - Dateisystem

BESCHREIBUNG
       /proc  ist  ein Pseudo - Dateisystem und dient (anstelle von /dev/kmem) als Schnittstelle zu den Kernel - Daten-
       strukturen.  Die meisten Einträge sind nur lesbar, einige Dateien erlauben aber auch das Verändern  der  Kernel-
       variablen.

       Die folgende Übersicht bietet einen Schnelldurchgang durch den /proc Verzeichnisbaum.

(...)

       stat   Kernel/System Statistik

              cpu 3357 0 4313 1362393
                     Die Anzahl Jiffies (Hundertstel - Sekunden), die das System in den Modi user, user mit niedriger
                     Priorität (nice), system und idle task (Leerlauf) verbracht hat.  Der letzte Wert sollte 100 mal
                     so groß sein wie der zweite Eintrag in der uptime - Pseudodatei.

              disk 0 0 0 0
                     Die vier Platten - Einträge sind derzeit nicht verwirklicht.  Ich bin auch nicht sicher, was das
                     sein soll, da auf anderen Maschinen üblicherweise sowohl Übertragungsrate als auch I/Os pro
                     Sekunde nachgehalten werden.  Hier ist aber nur ein Feld pro Platte vorhanden.

              page 5741 1808
                     Die Anzahl Speicherseiten, die das System ein- / aus- geladen hat (von Platte).

              swap 1 0
                     Anzahl an Auslagerungs - Seiten herein / heraus.

              intr 1462898
                     Anzahl Interrupts, die vom Hochfahren des Systems empfangen wurden.

              ctxt 115315
                     Anzahl Kontext - Wechsel, die das System durchlaufen hat.

              btime 769041601
                     Zeitpunkt des Hochfahrens, in Sekunden seit dem 1. Januar 1970.


(...)
                                                   15. Dezember 1998                                            PROC(5)
 
OP
K

Keepers

Advanced Hacker
Wo krieg ich eigentlich deutsche man-pages her?

Code:
proc(n)                                          Tcl Built-In Commands                                          proc(n)



_______________________________________________________________________________________________________________________

NAME
       proc - Create a Tcl procedure

SYNOPSIS
       proc name args body
_______________________________________________________________________________________________________________________


DESCRIPTION
       The  proc  command creates a new Tcl procedure named name, replacing any existing command or procedure there may
       have been by that name.  Whenever the new command is invoked, the contents of body will be executed by  the  Tcl
       interpreter.   Normally,  name is unqualified (does not include the names of any containing namespaces), and the
       new procedure is created in the current namespace.  If name includes any namespace qualifiers, the procedure  is
       created  in  the  specified  namespace.  Args specifies the formal arguments to the procedure.  It consists of a
       list, possibly empty, each of whose elements specifies one argument.  Each argument specifier  is  also  a  list
       with  either  one  or  two  fields.  If there is only a single field in the specifier then it is the name of the
       argument; if there are two fields, then the first is the argument name and the second is its default value.

       When name is invoked a local variable will be created for each of the formal arguments  to  the  procedure;  its
       value  will  be  the  value  of  corresponding argument in the invoking command or the argument's default value.
       Arguments with default values need not be specified in a procedure invocation.  However, there  must  be  enough
       actual  arguments  for all the formal arguments that don't have defaults, and there must not be any extra actual
       arguments.  There is one special case to permit procedures with variable numbers of arguments.  If the last for-
       mal  argument  has the name args, then a call to the procedure may contain more actual arguments than the proce-
       dure has formals.  In this case, all of the actual arguments starting at the one that would be assigned to  args
       are  combined  into  a list (as if the list command had been used); this combined value is assigned to the local
       variable args.

       When body is being executed, variable names normally refer to local variables, which are  created  automatically
       when referenced and deleted when the procedure returns.  One local variable is automatically created for each of
       the procedure's arguments.  Global variables can only be accessed by invoking the global command  or  the  upvar
       command.  Namespace variables can only be accessed by invoking the variable command or the upvar command.
       The  proc  command  returns  an  empty string.  When a procedure is invoked, the procedure's return value is the
       value specified in a return command.  If the procedure doesn't execute an explicit return, then its return value
       is  the value of the last command executed in the procedure's body.  If an error occurs while executing the pro-
       cedure body, then the procedure-as-a-whole will return that same error.

EXAMPLES
       This is a procedure that accepts arbitrarily many arguments and prints them out, one by one.
              proc printArguments args {
                 foreach arg $args {
                    puts $arg
                 }
              }

       This procedure is a bit like the incr command, except it multiplies the contents of the named  variable  by  the
       value, which defaults to 2:
              proc mult {varName {multiplier 2}} {
                 upvar 1 $varName var
                 set var [expr {$var * $multiplier}]
              }


SEE ALSO
       info(n), unknown(n)


KEYWORDS
       argument, procedure



Tcl                                                                                                             proc(n)

Das sagt mir man proc...
 

TeXpert

Guru
erst mal Du willst Infos zu Formaten, daher versuch mal
Code:
man 5 proc

ich hab einfach ein
Code:
aptitude install manpages-de
gemacht ;)
 
OP
K

Keepers

Advanced Hacker
Woer wiß ich dass ich man 5 proc eingeben muss?

apt install manpages-de -> gibt scheinbar noch keine manpages-de fuer 9.3 bei Apt, in Yast find ich auch keine ;)
 
Oben