资源描述:
《unix linux系统查看进程内存(unix linux system view process memory)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、unixlinux系统查看进程内存(UNIXLinuxsystemviewprocessmemory)Unix/linuxsystemviewprocessmemoryClassification:operatingsystemAbstract:Thispaperdescribesthemanagementprocesswhenthebasicconceptandprocessmanagementtools;forexample,classificationoftheintroductionandapplicationofthefocusonpro
2、cessmanagementtools,includingPS,pgrep,top,kill,pkill,killall,niceandreniceetc..Catalog1,proceduresandprocesses;1.1processclassification;Attributeof1.2process;1.3parentprocessandchildprocess;2,processmanagement;2.1PSmonitorprocesstool;2.1.1PSparameterdescription;Examplesof2.1.2
3、PSapplications;2.2pgrep3,theterminationoftheprocessofkill,killall,pkilltoolsandxkill;3.1kill3.2killall3.3pkill3.4xkill4,topmonitoringsystemtasktools;4.1topcommandusageandparameters;Examplesof4.2topapplications;5,processpriorities:niceandrenice;6,aboutthisarticle;7,postscript;8
4、.Referencedocument;9.Relateddocuments;++++++++++++++++++++++++++++++++++++++text++++++++++++++++++++++++++++++++++++++1,proceduresandprocesses;Theprogramisinordertocompletecertaintaskstodesignsoftware,suchasOpenOfficeprogram.Whatistheprocess?Processistherunningprogram.Arunning
5、program,theremaybemultipleprocesses.Forexample,theLinuxSir.OrgWWWserverisaApacheserver,whenyoustarttheservice,theremaybealotofpeoplecometovisit,thatistosaymanyuserstorequestthehttpdserviceatthesametime,theApacheserverwillcreatemultiplehttpdtotheserviceprocess.1.1processclassif
6、ication;Theprocessisgenerallydividedintotheinteractionprocess,batchprocessanddaemonclass3.Itisworthmentioningthatthedaemonisalwaysactive,generallyrunninginthebackground,thedaemonisgenerallyactivatedbythesystemautomaticallybootorsupermanagementuserrootbootthroughthescripttoboot
7、.Forexample,inFedoraorRedhat,wecanrunleveldefinitionhttpdserverstartupscript,thisfileinthe/etc/init.ddirectory,thefilenameishttpd,/etc/init.d/httpdishttpdserverdaemon,whentherunlevelsettingsfor3and5,whenthesystemstarts,itwillfollowup.[root@localhostchkconfig--levelhttpdon35~]#
8、Becausethedaemonisrunningallthetime,thestateofthedaemoniswait