Linux的进程管理实验报告.docx
- 文档编号:10578364
- 上传时间:2023-05-26
- 格式:DOCX
- 页数:18
- 大小:659.60KB
Linux的进程管理实验报告.docx
《Linux的进程管理实验报告.docx》由会员分享,可在线阅读,更多相关《Linux的进程管理实验报告.docx(18页珍藏版)》请在冰点文库上搜索。
Linux的进程管理实验报告
实验报告
Linux进程管理
实验内容:
1,进程运行控制命令
2,进程管理命令
3,调度进程命令
4,信息管理命令
姓名:
学好:
520913080429
专业:
信息安全09-04
1,进程运行控制命令
[root@localhost~]#find/-nametesting&<==将该执行程序放在后台执行
[1]5673
Youhavenewmailin/var/spool/mail/root
[root@localhost~]#fg<=将该程序教会屏幕前执行
find/-nametesting
[1]+Stoppedfind/-nametesting
[root@localhost~]#
[root@localhost/]#vi.bashrc
[2]+Stoppedvi.bashrc<=两个进程被丢到后台当中
[root@localhost/]#
[root@localhost/]#jobs
[1]-Stoppedfind/-nametesting(wd:
~)
[2]+Stoppedvi.bashrc
[root@localhost/]#<=显示有两个工作在后台下,状态为停止
[root@localhost/]#find/-nametest
/usr/lib/ruby/1.8/test
/usr/lib/python2.4/email/test
/usr/lib/python2.4/test
/usr/lib/python2.4/bsddb/test
/usr/lib/pgsql/test
/usr/bin/test
/usr/include/boost/mpl/aux_/test
/usr/include/boost/test
/usr/share/pear/test
/usr/share/doc/db4-devel-4.3.29/ref/test
/usr/share/doc/lynx-2.8.5/test
/usr/share/doc/ncurses-devel-5.5/test
[3]+Stoppedfind/-nametest
[root@localhost/]#
[root@localhost/]#vi.bashrc
[4]+Stoppedvi.bashrc
[root@localhost/]#
[root@localhost/]#jobs
[1]Stoppedfind/-nametesting(wd:
~)
[2]Stoppedvi.bashrc
[3]-Stoppedfind/-nametest
[4]+Stoppedvi.bashrc
[root@localhost/]#
[root@localhost/]#bg%1
[1]find/-nametesting&(wd:
~)
[root@localhost/]#/usr/share/doc/kernel-doc-2.6.18/Documentation/ABI/testing
[root@localhost/]#
[root@localhost/]#jobs
[1]Runningfind/-nametesting&(wd:
~)
[2]Stoppedvi.bashrc
[3]-Stoppedfind/-nametest
[4]+Stoppedvi.bashrc
[root@localhost/]#/work/mini2440/linux-2.6.32.2-mini2440/Documentation/ABI/testing
[root@localhost/]#
[root@localhost/]#bg%2
[2]vi.bashrc&
[root@localhost/]#jobs
[1]Runningfind/-nametesting&(wd:
~)
[2]+Stoppedvi.bashrc
[3]Stoppedfind/-nametest
[4]-Stoppedvi.bashrc
2,进程管理命令
[root@localhost~]#ps-aux
Warning:
badsyntax,perhapsabogus'-'?
See/usr/share/doc/procps-3.2.7/FAQ
USERPID%CPU%MEMVSZRSSTTYSTATSTARTTIMECOMMAND
root10.00.02044636?
Ss12:
050:
01init[5]
root20.00.000?
S12:
050:
00[migration/0]
root30.00.000?
SN12:
050:
00[ksoftirqd/0]
root40.00.000?
S12:
050:
00[watchdog/0]
root50.00.000?
S<12:
050:
00[events/0]
root60.00.000?
S<12:
050:
00[khelper]
root70.00.000?
S<12:
050:
00[kthread]
root90.00.000?
S<12:
050:
00[xenwatch]
root100.00.000?
S<12:
050:
00[xenbus]
root120.00.000?
S<12:
050:
00[kblockd/0]
root130.00.000?
S<12:
050:
00[kacpid]
root1770.00.000?
S<12:
050:
00[cqueue/0]
root1810.00.000?
S<12:
050:
00[khubd]
root1830.00.000?
S<12:
050:
00[kseriod]
root2380.00.000?
S12:
050:
00[pdflush]
root2390.00.000?
S12:
050:
00[pdflush]
root2400.00.000?
S<12:
050:
00[kswapd0]
root2410.00.000?
S<12:
050:
00[aio/0]
root4450.00.000?
S<12:
050:
00[kpsmoused]
root4750.00.000?
S<12:
050:
00[scsi_eh_0]
root4800.00.000?
S<12:
050:
00[kmirrord]
root4850.00.000?
S<12:
050:
00[ksnapd]
root4880.00.000?
S<12:
060:
01[kjournald]
root5160.00.000?
S<12:
060:
00[kauditd]
root5500.00.02388816?
S 060: 01/sbin/udevd-d root12710.00.000? S<12: 060: 00[kgameportd] root21620.00.000? S<12: 070: 00[kjournald] root26520.00.252762584? S12: 070: 01/usr/sbin/vmtoolsd root27040.00.298402088? Ss12: 070: 00cupsd root31640.00.012060636? S 080: 00auditd root31660.00.395043712? S 080: 00python/sbin/audispd root31800.00.01704584? Ss12: 080: 00syslogd-m0 root31830.00.01656404? Ss12: 080: 00klogd-x rpc32160.00.01784548? Ss12: 080: 00portmap root32450.00.01800732? Ss12: 080: 00rpc.statd root32780.00.04952568? Ss12: 080: 00rpc.idmapd dbus32970.00.12852964? Ss12: 080: 00dbus-daemon--system root33080.00.02128756? Ss12: 080: 00/usr/sbin/hcid root33120.00.01724496? Ss12: 080: 00/usr/sbin/sdpd root33370.00.000? S<12: 080: 00[krfcommd] root33760.00.1331921284? Ssl12: 080: 00pcscd root33950.00.01896444? Ss12: 080: 00/usr/bin/hidd--server root34150.00.193441108? Ssl12: 080: 00automount root34340.00.01656524? Ss12: 080: 00/usr/sbin/acpid root34450.00.05088496? Ss12: 080: 00./hpiod root34500.00.4131724548? S12: 080: 00python./hpssd.py root34650.00.05184924? Ss12: 080: 00/usr/sbin/sshd root34770.00.02680884? Ss12: 080: 00xinetd-stayalive-pidfile/var/ root34970.00.185001804? Ss12: 080: 00sendmail: acceptingconnections smmsp35050.00.175641448? Ss12: 080: 00sendmail: Queuerunner@01: 00: 00 root35180.00.01876352? Ss12: 080: 00gpm-m/dev/input/mice-texps2 root35290.00.154761112? Ss12: 080: 00crond xfs35640.00.139401780? Ss12: 080: 00xfs-droppriv-daemon root35750.00.01652504? SNs12: 080: 00anacron-s root35850.00.02216436? Ss12: 080: 00/usr/sbin/atd root36240.51.22545612156? S12: 080: 14/usr/bin/python/usr/sbin/yum-up avahi36500.00.126841364? Ss12: 090: 01avahi-daemon: running[localhost avahi36510.00.02552316? Ss12: 090: 00avahi-daemon: chroothelper 6836630.10.462364308? Ss12: 090: 03hald root36640.00.13112964? S12: 090: 00hald-runner 6836700.00.01980788? S12: 090: 00hald-addon-acpi: listeningonac 6836770.00.01976788? S12: 090: 00hald-addon-keyboard: listeningo root36880.00.01936616? S12: 090: 00hald-addon-storage: polling/dev root39550.00.02100932? S12: 090: 00xenstored--pid-file/var/run/xe root39610.00.012152420? Sl12: 090: 00xenconsoled root39630.00.4118443940? S12: 090: 00python/usr/sbin/xendstart root39640.00.5630644924? Sl12: 090: 00python/usr/sbin/xendstart root39650.00.013496600? Ssl12: 090: 00blktapctrl root43440.00.02292708? Ss12: 090: 00/sbin/dhclient-1-q-lf/var/li root44660.00.01912336? S12: 090: 00/usr/sbin/smartd-qnever root44780.00.01640432tty1Ss+12: 090: 00/sbin/mingettytty1 root44800.00.01640428tty2Ss+12: 090: 00/sbin/mingettytty2 root44810.00.01636428tty3Ss+12: 090: 00/sbin/mingettytty3 root44820.00.01640432tty4Ss+12: 090: 00/sbin/mingettytty4 root44830.00.01640432tty5Ss+12: 090: 00/sbin/mingettytty5 root45090.00.01636428tty6Ss+12: 090: 00/sbin/mingettytty6 root45100.00.4169644248? Ss12: 090: 00/usr/sbin/gdm-binary-nodaemon root45850.00.2159882652? S12: 090: 00/usr/sbin/gdm-binary-nodaemon root45890.00.1169641508? S12: 090: 00/usr/sbin/gdm-binary-nodaemon root45910.31.31996012916tty7Ss+12: 090: 08/usr/bin/Xorg: 0-br-audit0-a root47990.00.6230606000? Ss12: 150: 00/usr/bin/gnome-session root48280.00.000? Z12: 150: 00[Xsession] root48610.00.04308508? Ss12: 150: 00/usr/bin/ssh-agent/usr/bin/dbus root48640.00.02756504? S12: 150: 00/usr/bin/dbus-launch--exit-with root48650.00.02720848? Ss12: 150: 00/bin/dbus-daemon--fork--print- root48710.00.373483416? S12: 150: 00/usr/libexec/gconfd-25 root48750.00.02552588? S12: 150: 00/usr/bin/gnome-keyring-daemon root48770.00.8340288044? Sl12: 150: 00/usr/libexec/gnome-settings-daem root48940.01.12516011280? Ss12: 150: 00/usr/lib/scim-1.0/scim-launcher root49070.01.13977611528? Ss12: 150: 00metacity--sm-client-id=default1 root49120.01.49852014212? Ss12: 150: 02gnome-panel--sm-client-iddefau root49140.31.813640018176? Ss12: 150: 07nautilus--no-default-window--s root49180.00.3388962948? Ssl12: 150: 00/usr/libexec/bonobo-activation-s root49220.00.3113603092? S12: 150: 00/usr/libexec/gnome-vfs-daemon root49260.00.8448848096? Ss12: 150: 00eggcups--sm-client-iddefault4 root49380.31.97751218920? S12: 150: 08/usr/lib/vmware-tools/bin32/vmwa root49410.00.06452576? Ss12: 150: 00/usr/lib/scim-1.0/scim-helper-ma root49420.00.6495406596? Ssl12: 150: 00/usr/lib/scim-1.0/scim-panel-gtk root49460.00.5145844996? Ss12: 150: 00bt-applet--sm-disable root49480.00.013548816? Ss12: 150: 00/usr/lib/scim-1.0/scim-launcher root49520.11.32523613336? Ss12: 150: 04/usr/bin/python-tt/usr/bin/pup root49600.00.125361196? S12: 160: 00/usr/libexec/gam_server root49620.01.39726412776? S12: 160: 00/usr/libexec/wnck-applet--oaf-a root49640.00.91049528800? S12: 160: 00/usr/libexec/trashapplet--oaf-a root49800.00.2172802212? Sl12: 160: 00./escd--key_Inserted="/usr/bin/ root49830.10.9743529260? Ss12: 160: 02nm-applet--sm-disable root49850.00.02452828? S12: 160: 00/usr/libexec/mapping-daemon root49920.00.4153964608? Ss12: 160: 01pam-panel-icon--sm-client-idde root49950.00.6740526320? Ss12: 160: 00gnome-power-manager root49960.00.01820620? S12: 160: 00/sbin/pam_timestamp_check-droo root50170.00.4164044068? Ss12: 160: 00gnome-screensaver root50290.62.66405225252? S12: 160: 14/usr/bin/python-E/usr/bin/seal root50460.00.6231486532? S12: 160: 01/usr/libexec/notification-area-a root50490.11.39733212944? S12: 170: 02/usr/libexec/mixer_applet2--oaf root50520.11.24882411612? S12: 170: 02/usr/libexec/clock-applet--oaf- root50610.00.1122921000? S12: 170: 00scim-bridge root54370.01.713136017252? Sl12: 280: 00gnome-terminal root54420.00.02452660? S12: 280: 00gnome-pty-helper root54430.00.150521516pts/1Ss12: 280: 00bash root59330.00.150041248pts/1T12: 440: 00vi.bashrc root60620.00.148001108pts/1T12: 480: 00find/-nametest root61590.00.150281308pts/1T12: 500: 00vi.bashrc root62710.00.04476952pts/1R+12: 540: 00ps-aux [root@localhost~]# USERPID%CPU%MEM
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Linux 进程 管理 实验 报告