piszczynski>Aleks |
piszczynski>Aleks |
||
Line 28: | Line 28: | ||
== Linux Processes == | == Linux Processes == | ||
*Show running processes | *Show running processes: ps | ||
*Show processes for all users | *Show processes for all users: ps aux | ||
*Display running processes | *Display running processes: top | ||
*List processes via config directory (services started at boot via script in this directory ) | *List processes via config directory (services started at boot via script in this directory ): ls /etc/init.d or ls /etc/rc.d | ||
*list all processes with specific columns ( use -o parameter ): ps -e -o %mem,pid,uid,comm | |||
*Sort output of ps by cpu usage: ps -e --sort=%cpu |
Revision as of 18:58, 6 June 2020
Linux System Admin
System tools for fedora/red hat:
- DNS = system-config-bind
- HTTP = system-config-httpd
- NFS = system-config-nfs
- Root password = system-config-rootpassword
- Samba NFS = system-config-samba
- Services = system-config-services
- Authentication = authconfig-gtk
- Date & Time = system-config-date
- Firewall = system-config-firewall
- Language = system-config-language
- Printing = system-config-printer
- SELinux Management = policycoreutils-gui
- Users & Groups = system-config-users
- Configuration Editor = gconf-editor
- Disk Usage Analyzer = gnome-utils
- Disk Utility = gnome-disks
- Kickstart = system-config-kickstart
Enable service to run on boot:
- sudo systemctl enable <service>
- eg: sudo systemctl enable bluetooth.service
Linux Processes
- Show running processes: ps
- Show processes for all users: ps aux
- Display running processes: top
- List processes via config directory (services started at boot via script in this directory ): ls /etc/init.d or ls /etc/rc.d
- list all processes with specific columns ( use -o parameter ): ps -e -o %mem,pid,uid,comm
- Sort output of ps by cpu usage: ps -e --sort=%cpu