find ./ -type f -name '*source-string*'

Kategorie: LPIC-200

pstree – display a tree of processes

pstree -npu -n Sort processes with the same ancestor by PID instead of by name. (Numeric sort.) -p Show PIDs. PIDs are shown as decimal numbers in parentheses after each process name. -p implicitly disables compaction. -u Show uid transitions. Whenever the uid of a process differs from the uid of its parent, the new uid is shown in parentheses after the process name. pstree -npuh -h Highlight the current process and its ancestors. This […]

netstat – Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships

  netstat -a Display All Connections (default: connected) -a, –all, –listening display all sockets netstat -at List Only TCP connections (default: connected) netstat -au List Only UDP Connections netstat -ant Show IP Address without Reverse DNS lookup -a, –all, –listening display all sockets (default: connected) -n, –numeric don’t resolve names [–tcp|-t] netstat -anu Show IP Address without Reverse DNS lookup -a, –all, –listening display all sockets (default: connected) -n, –numeric don’t resolve names [–udp|-u] netstat […]

200.1 Ressourcenverbrauch messen und Probleme beheben

Gewicht 6 Beschreibung: Kandidaten sollen den Verbrauch von Hardwareressourcen und Netzwerkbandbreite messen und Ressourcenprobleme identifizieren und beheben können. Wichtige Wissensgebiete: CPU-Verbrauch messen. Speicherverbrauch messen. Platten-Ein- und Ausgabe messen. Netzwerk-Ein- und Ausgabe messen. Durchsatz von Firewalls und Routern messen. Bandbreitennutzung einzelnen Clients zuordnen. Symptome des Systems wahrscheinlichen Problemen zuordnen. Durchsatz abschätzen und Engpässe in einem System (inklusive Netzwerk) identifizieren. Auszugsweise Liste der verwendeten Dateien, Begriffe und Programme: iostat vmstat netstat pstree, ps, ( prtstat ) w […]

vmstat | Report virtual memory statistics

  OPTIONS -a, –active Display active and inactive memory, given a 2.5.41 kernel or better. -f, –forks The -f switch displays the number of forks since boot. This includes the fork, vfork, and clone system calls, and is equivalent to the total number of tasks created. Each process is represented by one or more tasks, depending on thread usage. -m, –slabs This display does not repeat. -n, –one-header Display the header only once rather than […]

iostat | Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.

  %user Show the percentage of CPU utilization that occurred while executing at the user level (application). %nice Show the percentage of CPU utilization that occurred while executing at the user level with nice priority. %system Show the percentage of CPU utilization that occurred while executing at the system level (kernel). %iowait Show the percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request. %steal […]