8
Lab Exercise 1 Cloud Performance and T uning Lab Date: _- _-  ____ Activity 1 Objective: System Information by Direct! Diagnostic tool" Requirements: #icrosoft $indo$s o%erating system& Methodology:  T'is is an o bser(ationa l acti(ity in $' ic' (arious s ystem %ara meters ar e obser(ed using DirectX Diagnostic tool. Procedure: )%en run $indo$$in*+"  T y%e dxdiag and %ress e nter ,nalyse t'e out%ut Observation: Figure 1 DirectX Diagnostic tool onclusion:  T'e syste m infor mation $er e dis%layed by t'e Direc t! Diagnostic Tool& B.Tech CSE CCVT 7 th  Semester Bhavuk Khanna R110212021

CPT_L1

Embed Size (px)

Citation preview

Page 1: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 1/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

Activity 1

Objective: System Information by Direct! Diagnostic tool"

Requirements: #icrosoft $indo$s o%erating system&

Methodology: T'is is an obser(ational acti(ity in $'ic' (arious system %arameters are

obser(ed using DirectX Diagnostic tool.

Procedure:

)%en run $indo$$in*+"  Ty%e dxdiag and %ress enter ,nalyse t'e out%ut

Observation:

Figure 1 DirectX Diagnostic tool

onclusion: T'e system information $ere dis%layed by t'e Direct! Diagnostic Tool&

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021

Page 2: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 2/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

Activity !

Objective: System information by control %anel:

Requirements: #icrosoft $indo$s o%erating system&

Methodology: T'is is an obser(ational acti(ity& System information is obser(ed using

control %anel&

Procedure:

+ig't clic on start& Select system

Observation:

, screen $it' all t'e system %arameters $ill be dis%layed&

Figure 2 System Information

onclusion: T'e basic information about t'e o%erating system and t'e 'ard$are $ere

dis%layed&

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021

Page 3: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 3/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

Activity "

Objective: Record the out#ut o$ the $ollo%ing commands:

to#

  vmstat

  netstat

 

u#time

  i#tra$ 

  strace

  tc#dum#

 

nmon

  #s &e

  #s &'

  $ree

Requirements: Linux o%erating system&Methodology: T'is is a %rocedural acti(ity&

Procedure:

  to#:

Pro(ides an ongoing loo at %rocessor acti(ity in real time& It dis%lays a listing oft'e most CP.-intensi(e tass on t'e system/ and can %ro(ide an interacti(einterface for mani%ulating %rocesses& It can sort t'e tass by CP. usage/ memoryusage and runtime&

Figure 3 Top Command Output 

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021

Page 4: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 4/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

vmstat: re%orts information about %rocesses/ memory/ %aging/ bloc I)/ tra%s/ andc%u acti(ity& re%orts (irtual memory statistics&

(mstat by default $ill dis%lay t'e memory usage including s$a%"

Figure 4 vmstat 

netstat: It lists out all t'e tc%/ ud% socet connections and t'e unix socetconnections

Figure netstat 

u#time:

 It s'o$s t'e current time/ 'o$ long t'e system 'as been running/ 'o$ many

users are currently logged on/ and t'e system load a(erages for t'e %ast 1/

0/ and 10 minutes&

Figure ! uptime

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021

Page 5: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 5/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

i#tra$ :i#tra$  is an ncurses-based IP L, monitor t'at generates (arious net$orstatistics including TCP info/ .DP counts/ IC#P and )SP2 information/Et'ernet load info/ node stats/ IP c'ecsum errors/ and ot'ers&

Figure " iptraf 

strace:

Strace monitors t'e system calls and signals of a s%eci3c %rogram& It is

'el%ful $'en you do not 'a(e t'e source code and $ould lie to debug t'e

execution of a %rogram& strace %ro(ides you t'e execution se4uence of a

binary from start to end&

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021

Page 6: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 6/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

Figure # strace ls

tc#dum#:Tcpdump %rints out t'e 'eaders of %acets on a net$or interface t'atmatc' t'e booleane$pression&

Figure % tcpdump &i et'( &vv &c 2

nmon:It is a system5s administrator tuner/ benc'mar tool t'at can be used todis%lay %erformance data about t'e follo$ings:

CP./ #emory/ et$or/ Diss/ 3le systems/ nfs/ to% %rocesses/ resources

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021

Page 7: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 7/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

Figure 1( nmon

#s &e: T'is command stands for 6Process Status6& 7e 8ag selects all %rocesses&

Figure 11 ps &e

#s (l: Sets out%ut format to long

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021

Page 8: CPT_L1

7/23/2019 CPT_L1

http://slidepdf.com/reader/full/cptl1 8/8

Lab Exercise 1Cloud Performance and Tuning Lab Date: __-__-

 ____ 

Figure 12 ps &l

$ree:Dis%lays t'e total amount of free and used %'ysical memory and s$a% s%acein t'e system/ as $ell as t'e bu9ers and cac'e consumed by t'e ernel&

Figure 13 freeonclusion: arious linux commands %ro(iding information about (arious system

resources $ere successfully executed&

B.Tech CSE CCVT 7th Semester Bhavuk Khanna

R110212021