實驗二Linu進程調(diào)度及用戶管理_第1頁
實驗二Linu進程調(diào)度及用戶管理_第2頁
實驗二Linu進程調(diào)度及用戶管理_第3頁
實驗二Linu進程調(diào)度及用戶管理_第4頁
實驗二Linu進程調(diào)度及用戶管理_第5頁
已閱讀5頁,還剩12頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

實驗二1實驗名稱:Linux進程調(diào)度及用戶管理2實驗?zāi)繕?.1掌握手工啟動前后臺作業(yè)的方法。2.2掌握進程與作業(yè)管理的相關(guān)Shell命令。2.3掌握at調(diào)度和cron調(diào)度的設(shè)置方法。了解系統(tǒng)性能監(jiān)視的基本方法。2.5掌握用戶管理基本方法和命令。2.6具有批量新建用戶能力。掌握非實時的通信方式。3實驗環(huán)境和準備WindowsXP下基于“VMwareWorkstation”虛擬機環(huán)境的RedHatEnterpriseLinuxServer5系統(tǒng)。3.2將主機改為具有個人學號后3位特征的名稱。4實驗要求、步驟及結(jié)果vi的基本操作;實現(xiàn)用戶間非實時通信;進行作業(yè)和進程的基本管理。;存盤退出。內(nèi)容參見下表左列。501502503504505506507508509510511xxxxxxxxxxx800801802803804805806807808809810800:800:800:800:800:800:800:800:800:800:800::/home/S01:/bin/bash:/home/S02:/bin/bash:/home/S03:/bin/bash:/home/S04:/bin/bash:/home/S05:/bin/bash:/home/S06:/bin/bash:/home/S07:/bin/bash:/home/S08:/bin/bash:/home/S09:/bin/bash:/home/S10:/bin/bash:/home/S11:/bin/bashS01:12345678S02:12345678S03:12345678S04:12345678S05:12345678【操作步驟1-新建】[rootOSI1-15Z0959~]#ui呂tudent.txt【操作步驟2-存盤】CSSDCSCS__MVQD00CDQoQu-nnvCSSDCSCS__MVQD00CDQoQu-nnv000000000m38888888888801Z345B78900S>0CSS>00B0Sijx88888888888X:x:x:x:x:x:x:x:x:x:x:_1Z345678901a8889998094X1-usssssssssss**""":::::/home/S01:/liin/basli/home/S0Z:/liin/basli/home/S03:/liin/basli/hoMe/S04in/bash/hoMe/S05in/bash/hoMe/S06in/bashZhome/807:八in/basliZhome/808:八in/basliZhome/809:八in/basliZhome/SIB:/Lin/basli/home/Sll:/Lin/basli【操作要求2;內(nèi)容參見上表右列?!静僮鞑襟E】[pootGSM-1520959"Ittuipassuord.txt1Z3456761Z3456761Z3456761Z345&781Z345&78【操作要求3】將vi作業(yè)掛起;顯示當前所有進程的詳細信息?!静僮鞑襟E1-掛起】04:1234567805:12345678【操作步驟1-掛起】04:1234567805:12345678'passuord..txt"5L,65C[11+Stopped[poot(?Sri-15ZB859uipassuord.txt【操作步驟2-顯示】[rootOSM-15Z0959'S UID PID:S Q 3341I T [rootOSM-15Z0959'S UID PID:S Q 3341I T 0 3488:R 0 3493[root(?SM-15Z0959]#FPID333833413341~]#-1FRI757877T1

NSZUCHAN-1186uait-1ZZ3finish-1047-TIMECMD00:00:00bash00:00:00ui00:00:00US【操作要求4】將掛起的vi作業(yè)切換到前臺;繼續(xù)向password.txt文件輸入以下內(nèi)容,輸入完成后存盤退出。password.txt文件的后段內(nèi)容:S06:12345678S07:12345678S08:12345678S09:12345678S10:12345678S11:12345678【操作步驟1-作業(yè)切換】S01:1Z345676S0Z:1Z345676S03:1Z345676S04:1Z345676S05:1Z345678[root輕河-15£眄59"litf(j1_【操作步驟2-vi操作】S81::12345676S0Z1Z345678S8Z::12345676S031Z345678S83::123456761Z345678K04::1Z345676S051Z345678K05::1Z345676SB61Z345678K06::1Z345676S071Z345678K07::1Z3456781Z345678K08::1Z345678S091Z345678K09::1Z345678S101Z345678K1S::1Z345678S111Z345678S11::1Z345678"passkiord.txt"1ZLf144Cwritten[「odttjsn—igzarmr~i4t_【操作要求5】返回虛擬終端1〔r。。t用戶〕將helen用戶的進程優(yōu)先數(shù)改為-3?!静僮鞑襟E】

Lroot(?Srl-15Z0S53Jitrenice-3-uhelen5BZ:□Idpriority8>neupriority-3[rootOSI1-15Z0353~]?【操作要求6】返回虛擬終端2〔helen用戶〕后臺再次啟動ftp進程;顯示進程的詳細信息?!静僮鞑襟E1-啟動進程】[heleneSM-1520959"]$niceftp_【操作步驟2-顯示進程】[helenOSM-1520955FS UID FID4S 50Z 36500R 502 3739[heleneSM-15ZB955FFID[helenOSM-1520955FS UID FID4S 50Z 36500R 502 3739[heleneSM-15ZB955FFID36363650-1

FRI7Z74NIADDRSZUCHANTTY-3- 1186 uaitttyZ-3- 1047 - tty2TIMECMD00:00:00bash00:00:00ps4.2基本用戶管理和組群管理【操作要求1】創(chuàng)建student用戶;啟動虛擬終端3,用student用戶登錄;修改自己的登錄口令?!静僮鞑襟E-創(chuàng)建】[r-ootGSM-1520959~]#adduserstudentadduser:userstudentexists【操作步驟-修改口令】[studentGSM-152B959"]$passwdlChangingpasswordforusers:七u.d.en't.Changimgpasswordforstudent?(currentJUNIXpassword:Newpassword:Retypemewpassword;Sorryjpasswordsdonotnuitch?Neupassword:Retypemeupassuord;passud:al1authenticaticintokensupdat&leluzcessfully.[studentOSM-15ZBS5S"]$【操作要求2】將普通用戶student切換為超級用戶并使用相應(yīng)環(huán)境,比較超級用戶和普通用戶工作環(huán)境。[student@SM-1520959~]$su-[student@SM-1520959~]$su-Password:Lastlogin:SatNou481:80:5ZPDTZ017onttyl[root@SM-15Z0959【工作環(huán)境比較】工作環(huán)境普通用戶student超級用戶root命令提示行[studenteSM-1520959工作環(huán)境普通用戶student超級用戶root命令提示行[studenteSM-1520959$[rootPSM-1520959~]#用戶主目錄[studeuWSM-1520959用戶主目錄[studeuWSM-1520959pwd/home/student[studenWSM-1520959~JS[rooteSM-1520555pudzroot[root@SM-1520959~llt【操作要求3】新建名為“classl5”的組群,GID=800?!静僮鞑襟E及結(jié)果】[rootPSM-1520959~J#groupadd-g899classl5批量新建多個用戶帳號【操作要求4】利用vi命令,修改/etc/hosts文件的最后一列的內(nèi)容與現(xiàn)主機名相同。學習并利用“mail”命令向student用戶發(fā)送一封郵件,內(nèi)容為“Pleasehandintheexperimentalreport.”,主題“Urgetheexperimentalreport.”,并抄送給helen用戶?!静僮鞑襟E1-vi】[rooroot]#ui/etc/hostsDowatremovethefollouingline,oruarionsprogr-amsttthatrequirenetuiorkfunctiona1itymillfail.1Z SM-1520959--INSERT--【操作步驟2-學習】[root@SM-1520959"litmanmail【操作步驟3-發(fā)郵件】[roo1520959root]#mai1studentSubject:Urgetheexperimenta1report.PleasehandintheexperimentalreportCc:heleu[root(?SM-15Z0959pootl#【操作要求5】啟動虛擬終端2;helen用戶登錄,接收、閱讀郵件,并回復(fù)“Iknow”;后臺啟動ftp進程;顯示進程的優(yōu)先級?!静僮鞑襟E1-收郵件并回復(fù)】Fromroot(?SM-15Z0959.localdomainMonNov602:09:Z3Z017Return-Path:<root@SM-1520959.localdomain>X-Orig-inal-To:studentDeli^red-To:student@SM-1520959.localdomainDate:Hom06Nov201?02:99:22-0800To;studentPSM-1520959.localdomainSubject;Urgetheexperimentalreport?User-Agent:Heirloommailx1Z.57/5/IBContent-Type:text/plain:匚harset=us-asciiFrom:root(?Sri-15Z0353.localdomain(root)Status:RPleasehand,intheexperimentalreport.Cc:helen&n?ii1To;rootSubject;IknouEOT【操作步驟2-啟動進程】[helenPSM-152095^heleTi]$niceftp_【操作步驟3-顯示優(yōu)先級】[helenPSM-15Z035ghelenlSps-1FSUIDPIDPPIDCPRINIADDRSZUCHANTTYTIMECMDS500266?26660758-ttyZ00:陽:盹bash0R500Z700Z&870808-776一ttyZPS[helen@SM-15Z0953helenl$【操作要求6】刪除student用戶同時刪除其個人用戶主目錄?!静僮鞑襟E-刪除用戶】[pootdSM-1520959~3#userde1-pstudentuserdel:userstudentiscurrentlyusedbyprocess3087[rooteSM-15Z0959~3it4.3批量新建多個用戶帳號【操作要求1】為某學習小組的10位同學批量創(chuàng)建用戶賬號。用戶賬號為“S”+2位順序號,即S01?S11,初始口令均為“12345678”,且均隸屬于GID為800的組群、假設(shè)UID從800開始順序編號。

注:用戶信息保存在中,口令保存在中?!矃⒁姳疚募场窘厝?etc/group相關(guān)內(nèi)容】rpm:x:37:floppy:x:19:vcsa:x::utmp;x:ZZ:used:x:Z8:s1o匚ate:x:Z1:sxhd:x:74:rpc:x:3Z:rpeuser:x:29:nfsnobody:x:65534:mailnu11:x:47:smmsp:x:51:pca.p:x:77:apa.匚hE:x:48:squid:x:Z3:ueba1izer:x:67:xfs:x:43:named:x:25:ntp:x:38:gdm:x:42:pos:x:Z6:lie1en:^:FiRB:studein-t:x:5B1:c1asslS:x:880:[rootOSM-1520959roatllt【操作步驟1】[root(?SM-15Z0959rootJttnewusers<student.txt[root世呂H—lTEBrsrroot]?【截取/etc/passwd相關(guān)內(nèi)容】maiInnII:x:氣了:斗了::zuarzspnoIymqiiFiiir:zshipznnIn(jinsmmsp:x:51:51::ZM<*rzspuuIzbiqueme:zsbiiiznu1uyinpcap:x:77:77::Zvarzcirpwat匚】]:Zsbimzno1ciginapache:x:48:48:Apaclie:Zvar^uwuj: inznolog-insquid:x:23:Z3::ZMar^spool^squid:/gbinxno1inwehaItzpr:x:67:67:WehaIi:zwaryuiunjzhtmIznsage : zshin/nnInrjinxfs:x:43:4:3:XruIILSerMei-:zeLc^XlIzfs:zsIjiiiziiu1 uyinnamed:x:2!^:25:Named:Zvo-r^noiincd:ZsbinZnolog-inn±p:x:38:38::^ctc^ntp:zsbinzno1etging竝m:x:42:42::yvai'Zgdm:zsbinyno1etginpostures::k:Eh:Z6:Fastgr-eSIJLServer:zwarzIihzpnsqI:yhi-nzhrtKhlie1Eii:x:599:586::zhumezheleu:zbiuzbcisPistudent:x:;501sei::x:880::S日固S02::x:801::800::x:HHZ::HHM564;;x;8B3;;3Q&305;:x:004;;0SQS66::x:8B5::800S07::x:806::30&::x:::HMM505;;x:6B8;;80S310;:x:003;;0SQS11::x:810::83S501-- ludenL:Zbin^b<i.s]k:zh口: inzbash:/h口meyS0Z:inzbash:/hnme^SH:i:^1)inzhash:zhumez304;zLiiizbasli:zliumez305:zbiiizbcus]i:Zh口&:Zbinzbash:/h口meyS07:/binzbasli:/hnme^SHH:inzhash:zliomezSB^:zbinzbash:zliumezS10:zbiuzbciii]i:zhomczS11:inzbashErootSSM-1520959「口口tlit提示:cat命令,截取UID〉=500內(nèi)容

【截取/etc/shadow相關(guān)內(nèi)容】mailwiu11;!*;15054;0;99999;7:;:smmsp: :15854:0:33953;7:::pcap:!?:15H54:U:yyyyy:?:::fipaclie:?T:15854:0:99999:7:::squid:??:15854:0:99959:7:::uiehalizer:f*:1HHFS4:R:33333:7:::xfs:*?:15854:0:99999:7:::named:!?:15854:0:99999:■?:::ntp:*?:15054:6:39日9勺:7::gdm:?T:15854gdm:?T:15854:8:33993:7;::pastgres:!?:15854;0=53333helen:5l^HHtGGq;IzS^VxgHlJfiY-tUSyhzUYcff164H:l?4?b:H: :7:::student:31SGDAL3yTF$qsn(i5sE4mZLUIzxFeluvll:17476:8:9999S:7:SBl:HvWc/h3qBdSuYSWZ:98cpa98pXPklES03:CA4ae3CMGuUAgS04:gCUm4ZcFl^MCM3395:bEu1.miiYrzfjZS06:QGBObKDcuLXQ.iSU?:FIGpUPm^Ua.LuSa8:eK/ZdOex0SthISa9:UM3JnFM0bnnilQS1H:KnZ^?VAqriTCsS11:FQhiBKHIIuSwtg[rootGSM-152095917476呂:9^999:717476R:<1^999:71747&0:99999:71747&B::71747GB;:717476S;:71747b甘::71747&呂:99999:71747&0:9^993:?17476R:1747ftA::7OO"tJtt【操作步驟2】ErootffSM-1520958root]ttpwunconu[root0SM-1520959rootlit【截取/etc/passwd相關(guān)內(nèi)容】mailnu11:*!:47:47::/var/spoo1/mqueue:/sbiii/nologinsmmsp:?!:51:51::/uarzspoo1/mqueue:/sbin/nologinpcap:!!:77:77::/uar/arpuatch:/sbin/nologinapache:??:48:48:Apache:/uar/uiwu:/sbin/nologinsquid:??:23:S3::/uarzspoo1/squid:/sbin/nologinueba1izer:T!:67:67:Ueba1izer:/uar/wwu/htm1/usage:/sbin/nologinxfs:!?:43:43:XFontServer:/etc/Xll/fs:/sbin/nologinnamed:??:25:25:Named:/uarznamed:/sbin/nologinntp:!!:38:38::/etc/ntp:/sbin/nologingdm:!?:4Z:4Z::/uar/gdm:/sbin/nologinpostgres:*?:26:26:FostgreSQLServer:/uar/1ib/pgsq1:zbin/bashhelen:$l$H0tGGqI/S37xgBQBYtUS95zUYcg1640:500:500::/home/heleu:in/bashstudent:$l$GDAL8yTP$qsnq5sE4m2LUIzxFcluvl1:501:501::zhomeZstudent:zbinzbashS01:MuWc/h3qBdSuY::S01:MuWc/h3qBdSuY::/home/SBlS0Z:98cpa98pXFklE::8B1::/home/SBZS03:CA40e3CMGuUAg::8舵::zhome/S03S04:gCUm4ZeFkMCMZ::8B3::/home/S04S05:bEul.msYP/fjZ::8B4::/home/SBSS06:QGRObKDcctXB.::805::zhome/S06S07:FIGpUPm9Ua.Iu::/home/SB?S08:eK/ZdOexBSthI::8B7::/home/SBBS09:UM3JnFNQbninlQ::zhome/S09S1B:KOZzZY09riICs::8B9::/home/SIBS11:FQbiBKHUuSwtg::818::zhome/Sll[root@SM-1520959root]#【截取/etc/shadow相關(guān)內(nèi)容】zbinzbashzbinxbashzbinxbashzbinzbashzbinxbashzbinxbashzbinzbashzbinxbashzbinxbashzbinzbashzbinxbash[root(?SM-1520953root]Scat/etc/shadowcat:Zetc/shadow: ,□IA^>?oA6fi!^【操作步驟3】[rootPSM-1520959root1#clipasswd<password..txt[rooroot]#【截取/etc/passwd相關(guān)內(nèi)容】ma11nu11:x::47:47::Zvarzsp口口1xmqueue:/sbinzno1口暫insrrthizp:x:51:51::Zvar^-spool^mqueue:^sbin^-no1oginpcap:x:7?:?7::zva. pwatch:zsbinznolog(inapache:冥:48:46:Atpaclie:ZMarzwww:xsbinznologinsquid:x:Z3:Z3::zwaryspool^squ.Id:yxbinzno1oinuel>a1iser:x-b7'&7二Weba1i "Zvar'^wwwZh-tm1z*usage"Zsbin^-no1口gfinxfs:x:43 :43 :XFontServer:/匚七c/^Xllzfs :zsbi n^no1ogrintiamed:x: 25: 25:Mctmecl:zvarzritimed:xs"birizn口lcigr in■ntp:x:3S :38 ::yetczn-tp:zsbinynolog1ngdm:x:42 :4Z :: 'Zsbin^nologinpostgrcs:x:2G:2&:Pos±gr-eSQLServer:zvarz1ib/^pgsq1:kbinzbaslilie1en:x-500-560:-zhomezlielen-zbinzbashstudeirt:x::5R1::5ft1::xlioniexK-t:iideni::xb^U1::x:抽0::tfUP:::Fh口me^SlJl~ybinzbasli302::X:061::000:::zh口皿匚/占0呂:”1)infbiis]]SBJ;:X:06Z;;000;:ZliomezS03-ZLinZba^hSR4::X:803::8RR:::x>iomexSa4:xbinxbasrTi::X:8M4::tfldtl::Z>i口nrtE/lifelS:/bin/baimJi思::X:865::80S:::zhomezS06:^binzbash307;;X;06G;;GB0;;:zliumezSB?:zLifbcish"ft::X:B?7::8RH:::inxba5?li3旳::X:8U8::tfldtl::z>i口HiE/Sfeim:/bin#bais;JiS19::X:869::80S:::Zh口1_P=/binTbiiEsh311;:X:010;;G00;;:zliumezS11:zLiiizbaili[rncitQSri-15Z0959noo±1茸_1nzhnash【截取/etc/shadow相關(guān)內(nèi)容】mailnu11:ft:17476:0:99999:?:::s:mmsp:??:17476:H :?:::pcap:??:17476:0:99995:7:::fipaclie:!T:1747&:0:9£勺9?:7:::squid:??:17476:0:99959:?:::webalizer:T?:l?l?b:M:3^19551:7:::xfs:??:1747&:0:33993:7::named:?*:1747G:9;99999:7;::n七p:**:1747&:歸:99999:7::g^dm:1?:17476:0:99999:7::pns+.gres:?!:pns+.gres:?!:17476:R :7:::Helen:S13H0tGG(rIzS37xqBOBYtUSg5zUYcql:17476:0:99999:7:::student:$lSGDAL8yTP$qsnq5sE4mZLUIzxFeluvl1:17476:0:99999:7:S01:bervj七AKTqe3YSa^:Hrl.5dH5zUTeYSB3:jripBuQKaSPiz.394:OivTyUtliQ9c.SB5:Z30Ij9FbcZ3uM586:B-t8r-jmkqC.T5一S07:c+eet6LCKRYccSOB:lu0vLPGrCxXxtjS09:SiiYtkGSexexTsS10:tuE4KzXfQNy8YSll:Jv7HULicxTlUqA1747&3:9^939:?1747bH:yyyyy:?17476呂;5-9339:71747G0;9D993:7174760:99999:7174760:99999:717476A:1747&呂:99999:71747&0:9^993:?1747&呂:99999:7l?47bH:yysyy:?[rootesri-15ZB-953root]ff【操作步驟4】[rooteSM-1520959root]#puconu[rootGSM-1520959root]#【截取/etc/passwd相關(guān)內(nèi)容】ma11nu11:x:47:47::Zvar/spoolzmqueue:/sbmZnoLogmsmmsp:x:51:51::zyarzspooLzmquieu.e:zsl)inznolog-inpcap:x:77:7?::zvarzarpwatch:/sbinzno1ogimapache:x:43:48:Apache:/varzuiwu:zsbin/nologinsquid:x:23:Z3::/uar/spool/squid.:/sbin/nologinueba.1izer:x:&了:67:Ueba1izer:zvarzunjw/html/uisage:zsbinzno1ogxfs:x:43:43:XFontServer:/etc/Xll/fs:/sbin/nologinnamed:x:Z5:25:Named:zvarznamed:zsbin/nologinntp:x:38:38::^etczntp:/sbim/nologingdin:x:4Z:4Z::xvarzgdm:/sbimzuo1oginpostgres:x:26:26:PostgreSQLServer:zvarx1ilt/pgsq1:zbim/ttashlie1en:x!509:5Q0::Zhome/heleu:/bin/bashstudent:xseiS0ZS03x:801x:8BZ501S3B80SS0Q501::xhomezstudent:inzbasF:/home/SBl;/bin/bash:zhomezSBZ:zbin/bash:zhome^S03:zbin/bash1T134563456785CSCD0000CDCDCD8888888x:x:x:x:x:x:x:00Qo0R-000000000□883383:/home^SBl:zbm/bash:/homezSBS:zbin/bash:zhomezS0&:zbin/bash:zhome^SB?:zbin/bash:/home/308:/bin/bash:/homezSB?:zbin/bash:zhomezS10:zbin/bashx:810[root@SM-:S00::zhome^S1115ZB959root]#:zbm/bash【截取/etc/shadow相關(guān)內(nèi)容】:99999:7::::0:99999:?::;mailuull:*?:17476:0:99999:7:::smmsp:?!:1747B:0:99999:7:::pcap:??:17476:0:99999:7:::apache:!?:17476:0:99999:7:::squid:?!:1747B:0:99999:7:::ueba1izer:??:17476:Q:99999:7:::xfs:!!:174?6:0:99999:?:::named:T!:1747&:B:99999:?::ntp:!!:174?6:0:99999:?:::gdm:!!:174?6:0:95955:?::;postgres:1!:17476:6;99999:7:::helen;51SH0tGGqI/S37xgBQBYtUS95zUYcgl640;17476:0student:SlSGDAL8yTPSq;snq55E4in2LUIzxFeluvl1:17476;rtnsnUejyfxYg:99999:7::::0:99999:?::;17476174761747617476SBE;pgCCkiRJSuU呂匚;17476:8S03HiEzEmflifinDsI:1747617476174761747617476HjRutXBueZleAUkab.NelizlbhZjlm4/knYx/ALgumkzEZU3.hiHE69010011ssss6oEF7EzjBZn/QLpfBSu.riXZ6gZqDL7sujoYwFoGshnJnLI0r/P9.174761747617476174763339999999999997777[rooteSM-1520959rootltt【抄寫第一行和最后一行內(nèi)容】St001:x:800:800::/home/st001:/bin/bashSt010:x:800:800::/home/st010:/bin/bash【抄寫文件第一行和最后一行內(nèi)容】St001:12345678St010:12345678【操作要求2】啟動虛擬終端3,S10登陸?!窘厝〉顷懡缑妗縧ocaltiostlogin:318Password:Lastlogin:UedApr13Z3:0B:4Zonttyd-bash-2.05b$_4.4at進程調(diào)度【操作要求1】設(shè)置一個10分鐘后執(zhí)行的at調(diào)度。要求:統(tǒng)計系統(tǒng)中登錄用戶數(shù),并將結(jié)果保存到who.txt文件中;向所有登錄用戶發(fā)送“TheComputerWillShutdownin5Minutes!”的消息;并在5分鐘后重新啟動系統(tǒng)?!静僮鞑襟E-設(shè)置at調(diào)度】[rootesri-15Z0959rootlttatnou+lOminutes【操作步驟-at命令】at>ulio.txtat>TheCampliterUli11Shu-tdounIn5Minuters?at><E0T>job1at2017-11-0615:29[rootOSI1-15Z0^53root]#【操作要求2】顯示進程詳細狀態(tài);顯示等待中的at調(diào)度?!静僮鞑襟E1-顯示進程】[rootOSM-15Z0959root]#ps-1FFIDCFBIMIADDRszUCHANTTYTIMECMDFSUID FID4S0 24782469 6 75a -1387uait4tty1bash4R0106182470 6 808-776—tty1PS[rootOSM-1520959root1#_1【操作步驟2-顯示at調(diào)度】[rootP3M-1520959root]#atq1 ZB17-11-0615:Z3aroot[root(?SM-15Z0959root]4tI【操作要求3】刪除等待中的at調(diào)度。【操作步驟】[rootPSM-1520559root]#atrm[root氈H-皿眄刊pootlfl4.5cron進程調(diào)度【操作要求1】查看系統(tǒng)時間。設(shè)置crontab調(diào)度,〔時間節(jié)點依照上課時間而變,主要還是要看到執(zhí)行結(jié)果〕①每天晚上8:50查看系統(tǒng)中進程的狀態(tài);②每周一~五的9:00統(tǒng)計登入用戶數(shù)并保存在文件中。③每月13,18,20日16:55向各位登錄用戶發(fā)送“Pleassubmitfinancialstatement.”信息?!静僮鞑襟E1-查看系統(tǒng)時間】ErootOSM-1520959root]#date116a 615:14:21CST2017[rooteSM-1520953root]#【操作步驟2-設(shè)置cron調(diào)度】[rooteSM-1520959rootincrontaL-e59Z0**?px89**1-5uhD>who.tx七551613>18jZB***ua1LPleasesutunitfins,ncia1statement"丁七mpxcrontab.SPSZ"3L, 98C【操作要求2】顯示crontab調(diào)度的內(nèi)容?!静僮鞑襟E及結(jié)果】[Joot(?SM-1520953rootlitcnontat-1nDONOTEDITTHISFILE-editthemasterandreinstal1.ttmp/crontab?27刁ZinstalludonUedApr1923:3?:36ZB17)tt(Cronuersion--$Id:crontab.c,u2.131994/01/1703:20:37uixieExpS)50Z0*?*ps09**1-5ulia>ulio.txt551613j18,Z0*■*ua11P1easesubmit

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論