SlideShare a Scribd company logo
System Administration
Root Login
Root is a specific user in linux. It has a full
administrative privilege over the system and
its resources. In linux, user needs root
privilage for specific task or system
configuration. It is not good practice to root
logon for normal task in linux. It may even
damage your system while the command use.
So root is also known as a super user.
Configuration of hardware with
kudzu
Kudzu is a hardware probing program (written
by Red Hat Linux) which relies on a library of
hardware device information. When the
computer boots, kudzu detects changes in the
running system's hardware configuration, if any,
and activates the newly-detected hardware (or
removal of hardware).
Kudzu in detail
The kudzu program is a hardware auto detection and configuration tool that runs automatically at boot time. If you like,
you can also start kudzu while Red Hat Linux is running. In either case, here is what kudzu does:
It checks the hardware connected to your computer.
It compares the hardware it finds to the database of hardware information stored in the /etc/sysconfig/hwconf file.
It prompts you to change your system configuration, based on new or removed hardware that was detected.
The following is a list of hardware that kudzu can detect (according to the kudzu README file), followed by a description
of what kudzu does to configure the device. Other devices may be detected as well (such as USB devices).
Network devices — Adds an Ethernet interface alias (eth0, eth1, etc.)
Sound card — Runs the sndconfig command to configure and test the sound card.
Mouse — Links the new mouse device to /dev/mouse
Modem — Links the new modem device to /dev/modem.
CD-ROM — Links the CD-ROM device to /dev/cdrom.
Scanner — Links the new scanner device to /dev/scanner.
Keyboard — Runs the kbdconfig command to reconfigure the keyboard. Also, if you are using a serial console, it makes
sure /etc/inittab and /etc/securetty are configured to be used by a serial console.
The following is a list of actions kudzu takes when a device is removed:
Network — Removes the alias for the Ethernet interface (eth0, eth1, etc.).
Mouse — Removes the link to /dev/mouse.
Modem — Removes the link to /dev/modem.
CD-ROM — Removes the link to /dev/cdrom.
Scanner — Removes the link to /dev/scanner.
System Management
System Management
- Use the who command to see all the currently
logged in users.
[root@rhel4 ~]# who
paul pts/1 Feb 14 18:21 (192.168.1.45)
sandra pts/2 Feb 14 18:11 (192.168.1.42)
jack pts/3 Feb 14 12:01 (192.168.1.33)
System Management
- The last command is used to check the user who
logon at the last time.
[root@rhel4a ~]# last | head
The last command can also be used to get a list of last
reboots.
[paul@rekkie ~]$ last reboot
You can use the tail -f command to look at the last lines
of a log file. The -f option will dynamically display lines
that are appended to the log.
paul@ubu1010:~$ tail -f /var/log
Memory Management
- Displaying /proc/meminfo will tell you a lot about the
memory on your Linux computer.
paul@ubu1010:~$ cat /proc/meminfo
MemTotal: 3830176 kB
MemFree: 244060 kB
Buffers: 41020 kB
Cached: 2035292 kB
SwapCached: 9892 kB
Memory Management
- The top tool is often used to look at processes consuming
most of the cpu, but it also displays memory information
Below a screenshot of top on the same ubu1010 from above.
[root@hostmaster]# top
top - 10:44:34 up 16 days, 9:56, 6 users, load average: 0.13, 0.09, 0.12 Tasks:
166 total, 1 running, 165 sleeping, 0 stopped, 0 zombie Cpu(s): 5.1%us,
4.6%sy, 0.6%ni, 88.7%id, 0.8%wa, 0.0%hi, 0.3%si, 0.0%st Mem: 3830176k
total, 3613720k used, 216456k free, 45452k buffers Swap: 6384636k
total, 84988k used, 6299648k free, 2050948k cached
[root@hostmaster]# free
- You can find information about swap usage using vmstat.
paul@ubu1010:~$ vmstat
Monitoring System Performence
Monitoring means obtaining information about the utilization of
memory, CPU power, bandwidth and storage. You should start
monitoring your system as soon as possible, to be able to create
a baseline. Make sure that you get to know your system. The
baseline is important, it allows you to see a steady growth in
CPU utilization or a steady decline in free disk space.
Monitoring System Performence
- Use the following commands to check the process and Harddisk
information:
[root@hostmaster]# ps
- Displays the running process in the system.
[root@hostmaster]# df –h
- Displays the free space in storage devices.
[root@hostmaster]# du –sh
- Displays the used space of hard disk in human readable form.
[root@hostmaster]# fdisk -l
- Displays the list of partition
[root@hostmaster]# lspci
- Displays the list of pci devices
[root@hostmaster]# lsusb
- Displays the list of usb devices.
Monitoring System Performence
- The iostat tool can display disk and cpu statistics.
[paul@RHELv4u3 ~]$ iostat –d
[paul@RHELv4u3 ~]$ iostat -c
-d for disk statistics
-c for cpu statistics
- Use iptraf for a colourful display of ip traffic over the network cards.
[root@centos65 ~]# iptraf
[root@centos65 ~]# iptraf -i eth0
- Try the command nmon and ntop

More Related Content

PDF
System administration
puspa joshi
 
PDF
Install and Configure Ubuntu for Hadoop Installation for beginners
Shilpa Hemaraj
 
PDF
TCP/IP Exercises
Felipe Suarez
 
TXT
File1
satyasaivani
 
ODP
Triangle OpenStack meetup 09 2013
Dan Radez
 
PPTX
Installing OpenStack Juno using RDO on RHEL
openstackstl
 
PPT
Running hadoop on ubuntu linux
TRCK
 
PPTX
Creating "Secure" PHP applications, Part 2, Server Hardening
archwisp
 
System administration
puspa joshi
 
Install and Configure Ubuntu for Hadoop Installation for beginners
Shilpa Hemaraj
 
TCP/IP Exercises
Felipe Suarez
 
File1
satyasaivani
 
Triangle OpenStack meetup 09 2013
Dan Radez
 
Installing OpenStack Juno using RDO on RHEL
openstackstl
 
Running hadoop on ubuntu linux
TRCK
 
Creating "Secure" PHP applications, Part 2, Server Hardening
archwisp
 

What's hot (20)

PDF
Openstack installation using rdo multi node
Narasimha sreeram
 
TXT
How to install
Wahyu Aulizar
 
TXT
Cluster setup multinode_aws
sparrowAnalytics.com
 
PPTX
Hadoop installation
Ankit Desai
 
PDF
Troubleshooting linux booting process
Manolis Kartsonakis
 
PDF
Dev ops
Tom Hall
 
PDF
INSTALLION OF BI
Arjun deshwal
 
PDF
Beyond Golden Containers: Complementing Docker with Puppet
lutter
 
PPTX
Advanced Replication
MongoDB
 
DOCX
Run wordcount job (hadoop)
valeri kopaleishvili
 
PDF
Ask by linux kernel add or delete a hdd
Chanaka Lasantha
 
DOCX
BOOTABLE OPERATING SYSTEM
Shahzeb Pirzada
 
PPTX
CKAN 2.2 Installation
Chun Cheng Lin
 
DOCX
Solaris
Ganesh Kumar Veerla
 
PPTX
Installation guide for Red Hat Enterprise Linux 6
Varnnit Jain
 
DOCX
Hadoop 2.2.0 Multi-node cluster Installation on Ubuntu
康志強 大人
 
PPT
Apache
Mindtree
 
ODP
What we-don't-know
Marian Marinov
 
PDF
Openstack installation using rdo
Narasimha sreeram
 
PDF
Openstack kilo installation using rdo
Narasimha sreeram
 
Openstack installation using rdo multi node
Narasimha sreeram
 
How to install
Wahyu Aulizar
 
Cluster setup multinode_aws
sparrowAnalytics.com
 
Hadoop installation
Ankit Desai
 
Troubleshooting linux booting process
Manolis Kartsonakis
 
Dev ops
Tom Hall
 
INSTALLION OF BI
Arjun deshwal
 
Beyond Golden Containers: Complementing Docker with Puppet
lutter
 
Advanced Replication
MongoDB
 
Run wordcount job (hadoop)
valeri kopaleishvili
 
Ask by linux kernel add or delete a hdd
Chanaka Lasantha
 
BOOTABLE OPERATING SYSTEM
Shahzeb Pirzada
 
CKAN 2.2 Installation
Chun Cheng Lin
 
Installation guide for Red Hat Enterprise Linux 6
Varnnit Jain
 
Hadoop 2.2.0 Multi-node cluster Installation on Ubuntu
康志強 大人
 
Apache
Mindtree
 
What we-don't-know
Marian Marinov
 
Openstack installation using rdo
Narasimha sreeram
 
Openstack kilo installation using rdo
Narasimha sreeram
 
Ad

Similar to System administration (20)

PDF
Building a Gateway Server
Dashamir Hoxha
 
PPTX
introduction to computer Linux essential.pptx
musomicatherine
 
PPT
Linux
Kavi Bharathi R
 
PDF
operating system1.pdf
Ganesh198271
 
PDF
Oracle (Sun) Server hardware Open Boot PROM quick reference
ssuser82d701
 
PDF
Linux class 9 15 oct 2021-5
Khawar Nehal [email protected]
 
PPTX
LINUX M1 P4 notes.pptxgyfdes e4e4e54v 4
abhinandpk2405
 
PPT
Ch04 system administration
Raja Waseem Akhtar
 
PDF
ONOS SDN Controller - Clustering Tests & Experiments
Eueung Mulyana
 
PPT
Linux
Mindtree
 
PPT
L-3 BCE OS FINAL.ppt
Kirti Verma
 
PPT
Unix fundamentals
Bimal Jain
 
PDF
Containers with systemd-nspawn
Gábor Nyers
 
PPTX
Operating system.pptx
AshmitKashyap1
 
PPTX
Operating system.pptx
AshmitKashyap1
 
PDF
Clear cache memory
Abdullah Al Muzammi
 
PDF
Linux host review
rglaal
 
PDF
Operating System.pdf topic of interprocess comunication
ShaliniVerma655521
 
PPT
Introduction and fundamentals of Operating System.ppt
minaltmv
 
Building a Gateway Server
Dashamir Hoxha
 
introduction to computer Linux essential.pptx
musomicatherine
 
operating system1.pdf
Ganesh198271
 
Oracle (Sun) Server hardware Open Boot PROM quick reference
ssuser82d701
 
Linux class 9 15 oct 2021-5
Khawar Nehal [email protected]
 
LINUX M1 P4 notes.pptxgyfdes e4e4e54v 4
abhinandpk2405
 
Ch04 system administration
Raja Waseem Akhtar
 
ONOS SDN Controller - Clustering Tests & Experiments
Eueung Mulyana
 
Linux
Mindtree
 
L-3 BCE OS FINAL.ppt
Kirti Verma
 
Unix fundamentals
Bimal Jain
 
Containers with systemd-nspawn
Gábor Nyers
 
Operating system.pptx
AshmitKashyap1
 
Operating system.pptx
AshmitKashyap1
 
Clear cache memory
Abdullah Al Muzammi
 
Linux host review
rglaal
 
Operating System.pdf topic of interprocess comunication
ShaliniVerma655521
 
Introduction and fundamentals of Operating System.ppt
minaltmv
 
Ad

More from Prakash Poudel (20)

PPTX
Web applications vulnerabilities and threats
Prakash Poudel
 
PPTX
Earliest Due Date Algorithm for Task scheduling for cloud computing
Prakash Poudel
 
PPTX
Recent and-future-trends spm
Prakash Poudel
 
DOCX
Locking base concurrency control
Prakash Poudel
 
PPTX
Cocomo ( cot constrictive model) and capability maturity model
Prakash Poudel
 
PDF
Microprocessor
Prakash Poudel
 
DOCX
Maximum power transfer theorem
Prakash Poudel
 
DOCX
Linux technology
Prakash Poudel
 
PDF
Java PU solution
Prakash Poudel
 
PPTX
Telephone call-simulation
Prakash Poudel
 
PPTX
General Online Health Information System Proposed Application
Prakash Poudel
 
PPTX
Nepal Doorsanchar Company Limited Internship Experience
Prakash Poudel
 
DOCX
SQL & PLSQL
Prakash Poudel
 
DOCX
Software engineering
Prakash Poudel
 
DOCX
Multimedia Technology in computer
Prakash Poudel
 
PPTX
File permission in linux
Prakash Poudel
 
DOC
organization Management
Prakash Poudel
 
DOC
Organization Management Concept
Prakash Poudel
 
PPTX
Java Programming concept
Prakash Poudel
 
PPTX
Letest
Prakash Poudel
 
Web applications vulnerabilities and threats
Prakash Poudel
 
Earliest Due Date Algorithm for Task scheduling for cloud computing
Prakash Poudel
 
Recent and-future-trends spm
Prakash Poudel
 
Locking base concurrency control
Prakash Poudel
 
Cocomo ( cot constrictive model) and capability maturity model
Prakash Poudel
 
Microprocessor
Prakash Poudel
 
Maximum power transfer theorem
Prakash Poudel
 
Linux technology
Prakash Poudel
 
Java PU solution
Prakash Poudel
 
Telephone call-simulation
Prakash Poudel
 
General Online Health Information System Proposed Application
Prakash Poudel
 
Nepal Doorsanchar Company Limited Internship Experience
Prakash Poudel
 
SQL & PLSQL
Prakash Poudel
 
Software engineering
Prakash Poudel
 
Multimedia Technology in computer
Prakash Poudel
 
File permission in linux
Prakash Poudel
 
organization Management
Prakash Poudel
 
Organization Management Concept
Prakash Poudel
 
Java Programming concept
Prakash Poudel
 
Letest
Prakash Poudel
 

Recently uploaded (20)

PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PDF
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
PPTX
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
Zero Carbon Building Performance standard
BassemOsman1
 
Online Cab Booking and Management System.pptx
diptipaneri80
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
Information Retrieval and Extraction - Module 7
premSankar19
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 

System administration

  • 2. Root Login Root is a specific user in linux. It has a full administrative privilege over the system and its resources. In linux, user needs root privilage for specific task or system configuration. It is not good practice to root logon for normal task in linux. It may even damage your system while the command use. So root is also known as a super user.
  • 3. Configuration of hardware with kudzu Kudzu is a hardware probing program (written by Red Hat Linux) which relies on a library of hardware device information. When the computer boots, kudzu detects changes in the running system's hardware configuration, if any, and activates the newly-detected hardware (or removal of hardware).
  • 4. Kudzu in detail The kudzu program is a hardware auto detection and configuration tool that runs automatically at boot time. If you like, you can also start kudzu while Red Hat Linux is running. In either case, here is what kudzu does: It checks the hardware connected to your computer. It compares the hardware it finds to the database of hardware information stored in the /etc/sysconfig/hwconf file. It prompts you to change your system configuration, based on new or removed hardware that was detected. The following is a list of hardware that kudzu can detect (according to the kudzu README file), followed by a description of what kudzu does to configure the device. Other devices may be detected as well (such as USB devices). Network devices — Adds an Ethernet interface alias (eth0, eth1, etc.) Sound card — Runs the sndconfig command to configure and test the sound card. Mouse — Links the new mouse device to /dev/mouse Modem — Links the new modem device to /dev/modem. CD-ROM — Links the CD-ROM device to /dev/cdrom. Scanner — Links the new scanner device to /dev/scanner. Keyboard — Runs the kbdconfig command to reconfigure the keyboard. Also, if you are using a serial console, it makes sure /etc/inittab and /etc/securetty are configured to be used by a serial console. The following is a list of actions kudzu takes when a device is removed: Network — Removes the alias for the Ethernet interface (eth0, eth1, etc.). Mouse — Removes the link to /dev/mouse. Modem — Removes the link to /dev/modem. CD-ROM — Removes the link to /dev/cdrom. Scanner — Removes the link to /dev/scanner.
  • 6. System Management - Use the who command to see all the currently logged in users. [root@rhel4 ~]# who paul pts/1 Feb 14 18:21 (192.168.1.45) sandra pts/2 Feb 14 18:11 (192.168.1.42) jack pts/3 Feb 14 12:01 (192.168.1.33)
  • 7. System Management - The last command is used to check the user who logon at the last time. [root@rhel4a ~]# last | head The last command can also be used to get a list of last reboots. [paul@rekkie ~]$ last reboot You can use the tail -f command to look at the last lines of a log file. The -f option will dynamically display lines that are appended to the log. paul@ubu1010:~$ tail -f /var/log
  • 8. Memory Management - Displaying /proc/meminfo will tell you a lot about the memory on your Linux computer. paul@ubu1010:~$ cat /proc/meminfo MemTotal: 3830176 kB MemFree: 244060 kB Buffers: 41020 kB Cached: 2035292 kB SwapCached: 9892 kB
  • 9. Memory Management - The top tool is often used to look at processes consuming most of the cpu, but it also displays memory information Below a screenshot of top on the same ubu1010 from above. [root@hostmaster]# top top - 10:44:34 up 16 days, 9:56, 6 users, load average: 0.13, 0.09, 0.12 Tasks: 166 total, 1 running, 165 sleeping, 0 stopped, 0 zombie Cpu(s): 5.1%us, 4.6%sy, 0.6%ni, 88.7%id, 0.8%wa, 0.0%hi, 0.3%si, 0.0%st Mem: 3830176k total, 3613720k used, 216456k free, 45452k buffers Swap: 6384636k total, 84988k used, 6299648k free, 2050948k cached [root@hostmaster]# free - You can find information about swap usage using vmstat. paul@ubu1010:~$ vmstat
  • 10. Monitoring System Performence Monitoring means obtaining information about the utilization of memory, CPU power, bandwidth and storage. You should start monitoring your system as soon as possible, to be able to create a baseline. Make sure that you get to know your system. The baseline is important, it allows you to see a steady growth in CPU utilization or a steady decline in free disk space.
  • 11. Monitoring System Performence - Use the following commands to check the process and Harddisk information: [root@hostmaster]# ps - Displays the running process in the system. [root@hostmaster]# df –h - Displays the free space in storage devices. [root@hostmaster]# du –sh - Displays the used space of hard disk in human readable form. [root@hostmaster]# fdisk -l - Displays the list of partition [root@hostmaster]# lspci - Displays the list of pci devices [root@hostmaster]# lsusb - Displays the list of usb devices.
  • 12. Monitoring System Performence - The iostat tool can display disk and cpu statistics. [paul@RHELv4u3 ~]$ iostat –d [paul@RHELv4u3 ~]$ iostat -c -d for disk statistics -c for cpu statistics - Use iptraf for a colourful display of ip traffic over the network cards. [root@centos65 ~]# iptraf [root@centos65 ~]# iptraf -i eth0 - Try the command nmon and ntop