SlideShare una empresa de Scribd logo
1 de 4
Performance and Statistics Collector (Perfstat 7-mode)
7.36 UNIX/Linux, 7.36 Windows
Windows
rsh may hang if there are no remaining ports on the filer for the stderr socket. The filer will indicate "couldn't
connect second port". Perfstat should detect and abort the command, but output from the command is lost, and in
rare circumstances the command may have to be killed by hand.
Aborted instances of rsh may cause console warnings about inaccessible files.
Windows disk performance counters are assumed to be enabled. Older versions of windows may require explicit
activation with diskperf -y and a reboot.
Perfstat on Windows XP Service Pack 2 will display "Terminal read..." errors. This is a problem in rsh.exe - see
Microsoft KB article: KB892099.

Perfstat: Version 7.36 4-2011
- perfstat.exe is a tool for capturing performance
and configuration statistics.
- Output from perfstat is sent to standard out and
is typically captured in an output file for
later analysis.
- perfstat.exe is capable of capturing info from one Windows host and
multiple NetApp storage controllers simultaneously.
- For controller data capture, the user must have RSH or
SSH privileges to the controller. Unless instructed otherwise,
perfstat will use 'root' as the default username to communicate
remotely with storage controllers.



Usage: (basic options list)
perfstat [-f controllername] [-t time] > perfstat.out
perfstat –f akfiler7.ak.providence.org -t 5 -I 5 -I > perfstat"Date_%date:~4,2%%date:~7,2%%date:~10,4%Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s"

H:NAUtilyperfstat7_20110411.exe -f NAS2854 -t 5 -I 5 -I > perfstat"NAS2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
where:
-f controllername - host name or IP address of target controller
-t time - collect performance data for 'time' minutes
Simple Example:
Capture data on local host and one controller for 5 minutes:
perfstat -f controller1 -t 5 > perfstat.out
Capture data on multiple hosts and controllers for 10 minutes:
perfstat -f controller1,controller2 -t 10 > perfstat.out
Capture data for five 1 minute iterations, with 10 minutes between
successive iterations:
perfstat -f controller1 -t 1 -i 5,10 > perfstat.out
Usage: (more
perfstat
[-f
[-t
[-i

complete options list)

controllername[,controllername1,controllername2,...]]
time] (sample time per iteration, default 2)
n[,m]] (repeat n times with m minutes between samples,
defaults: n=1,m=0)
[-I] (force perfstat to execute all iterations)
[-l login[:password]] (rsh/ssh login and password for rsh only)
[-F] (do not capture information from local host)
[-V] (do not capture vfiler data)
[-p] (capture performance data only, no config info
[-c] (capture config info only, no performance data
[-L] (capture logs - beware verbose output
[-E cmd[,cmd2,cmd3]... (exclude commands)
[-P domain1[,domain2,domain3...] (capture profiles,
use "-P flat" to capture complete profile)
[-v] (print version info only)
[-q] (quiet mode - suppress all console input)
[-x] (print what commands will be issued without actually
issuing them
[-d] (debug mode - beware verbose output)
[-m msinfo_path] (path to msinfo32.exe)
[-S pw:|kf:] (use ssh instead of rsh)
[-k] (disable collection of "stutter" statit; i.e.,
collect 1 statit report that covers the entire
iteration)
[-K] (collect only "stutter" statit reports over
the entire iteration)
[-T default | sk_mod,level[,sk_mod2,level,...]] (collect sktrace)
[-B sk_buffer_size] (specify sktrace buffer size)
[-C seconds] (the number of seconds to wait on command processesdefault is 70 seconds)
[-w minutes] (total number of minutes to wait for perfstat
execution to complete. Default will be 5 minutes)

Notes:
-P saves profiling data in a subdirectory 'gmon' of the current working
directory and deletes any existing gmon files on the controller
-E exludes all foreground commands that have at least the cmd as a
substring; E.g.
-E snap,vol
- excludes all 'snap*' and 'vol*' commands
-E "snap list -v" - excludes only the command 'snap list -v'
-S requires the plink ssh client to be available in the working path
To authenticate with a password, use the syntax -S pw:
For public key authentication, use the syntax -S kf:,
where keyfile is a Putty private keyfile created with puttygen.
plink and puttygen are available for free download at
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Additionally, the -l option can be used to specify usernames for
controller login. E.g.,
perfstat.exe -S -l user
-T used to toggle sktrace collection and specify sk modules and the
levels at which trace data should be collected for those modules.
Some valid sk modules include SK, WAFL, DISK, and SCSITARGET. For
default values of 'SK 7 WAFL 4', specify '-T default'. sktrace data
will be copied off of the controller(s) and into the current working
directory from where perfstat was invoked.
values of 'SK 7 WAFL 4', specify '-T default'. sktrace data will be
copied off of the controller(s) and into the current working directory
from where perfstat was invoked.
-B used to manually set the sktrace buffer size. By default, perfstat
will use a default value of '40m' (40MB). Please note that it is
required that the units be specified with the size in the format:
k (KB), m (MB), or g (GB). This value should only be changed if
specifically advised by global support.
Early termination of execution: as of v7.00 perfstat will terminate
iterations early if a calculated max runtime is met or exceeded.
If it is required that perfstat must execute all iterations regardless
of the total runtime, please use the '-I' option.
Monitoring for 24 hour periods
A common practice is to capture perfstat data 24 hours a day and archive some number of data samples (e.g. 1
week worth). The recommended method for doing this is to capture multiple small samples throughout the day,
rather than one 24 hour sample. Many customers script this or place it in the cron job log.
Here are some typical examples:
perfstat -f filer1 -t 30 -i 46 > perfstat.$date.out
NOTE: For Windows users the example below shows a nice way to format perfstat output file names with date and
time information:
perfstat -f filer1 -t 30 -i 46 > perfstat-"Date_%date:~4,2%%date:~7,2%%date:~10,4%Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
Both examples above will capture 46 samples of 30 minute intervals. This is a total of 23 hours. Since perfstat
uses a lot of rsh commands and the time to complete the rsh's can vary, it often runs for slightly longer than the
specified time. To compensate for this (and not have 2 perfstat tools running concurrently), we recommend a 23
hour run to cover a 24 hour period.
H:NAUtily>perfstat7_20110411.exe -f NAS2854 -t 5 -I 5 -I > perfstat-"NAS2854_D
ate_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s
"
Perfstat v7.36 (4-2011)
RSH to filer NAS2854 fails! Quitting.

H:NAUtily>perfstat7_20110411.exe -f NAS2854.providence.org -t 5 -I 5 -I > perf
stat-"NAS2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time:~3,
2%m%time:~6,2%s"
Perfstat v7.36 (4-2011)
RSH to filer NAS2854.providence.org fails! Quitting.

H:NAUtily>perfstat7_20110411.exe -f 170.220.66.13 -t 5 -I 5 -I > perfstat-"NAS
2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time:~3,2%m%time:
~6,2%s"
Perfstat v7.36 (4-2011)
RSH to filer 170.220.66.13 fails! Quitting.

H:NAUtily>perfstat7_20110411.exe -f akfiler5.ak.providence.org -t 5 -I 5 -I >
perfstat-"NAS2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time
:~3,2%m%time:~6,2%s"
Perfstat v7.36 (4-2011)
RSH to filer akfiler5.ak.providence.org fails! Quitting.

H:NAUtily>

Más contenido relacionado

La actualidad más candente

Linux process management
Linux process managementLinux process management
Linux process managementRaghu nath
 
The Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOsThe Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOsDivye Kapoor
 
FreeBSD Jail Complete Example
FreeBSD Jail Complete ExampleFreeBSD Jail Complete Example
FreeBSD Jail Complete ExampleMohammed Farrag
 
Introduction to eBPF and XDP
Introduction to eBPF and XDPIntroduction to eBPF and XDP
Introduction to eBPF and XDPlcplcp1
 
Building Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCCBuilding Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCCKernel TLV
 
Data Structures used in Linux kernel
Data Structures used in Linux kernel Data Structures used in Linux kernel
Data Structures used in Linux kernel assinha
 
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...Anne Nicolas
 
Linux Security Quick Reference Guide
Linux Security Quick Reference GuideLinux Security Quick Reference Guide
Linux Security Quick Reference Guidewensheng wei
 
Performance: Observe and Tune
Performance: Observe and TunePerformance: Observe and Tune
Performance: Observe and TunePaul V. Novarese
 
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security FrameworkLecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security FrameworkMohammed Farrag
 
Modern Linux Tracing Landscape
Modern Linux Tracing LandscapeModern Linux Tracing Landscape
Modern Linux Tracing LandscapeKernel TLV
 
ARM Linux Embedded memory protection techniques
ARM Linux Embedded memory protection techniquesARM Linux Embedded memory protection techniques
ARM Linux Embedded memory protection techniquesPrabindh Sundareson
 
Bootloader and MMU (english)
Bootloader and MMU (english)Bootloader and MMU (english)
Bootloader and MMU (english)Sneeker Yeh
 
Module 13 - Troubleshooting
Module 13 - TroubleshootingModule 13 - Troubleshooting
Module 13 - TroubleshootingT. J. Saotome
 
Berkeley Packet Filters
Berkeley Packet FiltersBerkeley Packet Filters
Berkeley Packet FiltersKernel TLV
 
Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackMahmoud Shiri Varamini
 

La actualidad más candente (20)

Linux process management
Linux process managementLinux process management
Linux process management
 
The Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOsThe Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOs
 
FreeBSD Jail Complete Example
FreeBSD Jail Complete ExampleFreeBSD Jail Complete Example
FreeBSD Jail Complete Example
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Introduction to eBPF and XDP
Introduction to eBPF and XDPIntroduction to eBPF and XDP
Introduction to eBPF and XDP
 
Building Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCCBuilding Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCC
 
Data Structures used in Linux kernel
Data Structures used in Linux kernel Data Structures used in Linux kernel
Data Structures used in Linux kernel
 
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
 
Linux Security Quick Reference Guide
Linux Security Quick Reference GuideLinux Security Quick Reference Guide
Linux Security Quick Reference Guide
 
Performance: Observe and Tune
Performance: Observe and TunePerformance: Observe and Tune
Performance: Observe and Tune
 
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security FrameworkLecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
 
Modern Linux Tracing Landscape
Modern Linux Tracing LandscapeModern Linux Tracing Landscape
Modern Linux Tracing Landscape
 
Lecture1 Introduction
Lecture1  IntroductionLecture1  Introduction
Lecture1 Introduction
 
ARM Linux Embedded memory protection techniques
ARM Linux Embedded memory protection techniquesARM Linux Embedded memory protection techniques
ARM Linux Embedded memory protection techniques
 
Bootloader and MMU (english)
Bootloader and MMU (english)Bootloader and MMU (english)
Bootloader and MMU (english)
 
Linux Run Level
Linux Run LevelLinux Run Level
Linux Run Level
 
Module 13 - Troubleshooting
Module 13 - TroubleshootingModule 13 - Troubleshooting
Module 13 - Troubleshooting
 
Berkeley Packet Filters
Berkeley Packet FiltersBerkeley Packet Filters
Berkeley Packet Filters
 
eBPF Basics
eBPF BasicseBPF Basics
eBPF Basics
 
Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter Stack
 

Similar a Perf stat windows

Essential Linux Commands for DBAs
Essential Linux Commands for DBAsEssential Linux Commands for DBAs
Essential Linux Commands for DBAsGokhan Atil
 
Performance Analysis Tools for Linux Kernel
Performance Analysis Tools for Linux KernelPerformance Analysis Tools for Linux Kernel
Performance Analysis Tools for Linux Kernellcplcp1
 
The New Systems Performance
The New Systems PerformanceThe New Systems Performance
The New Systems PerformanceBrendan Gregg
 
linux_Commads
linux_Commadslinux_Commads
linux_Commadstastedone
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Amin Astaneh
 
bcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challengesbcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challengesIO Visor Project
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLCommand Prompt., Inc
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLMark Wong
 
Linux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compactLinux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compactAlessandro Selli
 
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan Gregg
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan GreggKernel Recipes 2017 - Using Linux perf at Netflix - Brendan Gregg
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan GreggAnne Nicolas
 
Kernel Recipes 2017: Using Linux perf at Netflix
Kernel Recipes 2017: Using Linux perf at NetflixKernel Recipes 2017: Using Linux perf at Netflix
Kernel Recipes 2017: Using Linux perf at NetflixBrendan Gregg
 
How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...
How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...
How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...Saroj Sahu
 
Really useful linux commands
Really useful linux commandsReally useful linux commands
Really useful linux commandsMichael J Geiser
 

Similar a Perf stat windows (20)

Essential Linux Commands for DBAs
Essential Linux Commands for DBAsEssential Linux Commands for DBAs
Essential Linux Commands for DBAs
 
Performance Analysis Tools for Linux Kernel
Performance Analysis Tools for Linux KernelPerformance Analysis Tools for Linux Kernel
Performance Analysis Tools for Linux Kernel
 
The New Systems Performance
The New Systems PerformanceThe New Systems Performance
The New Systems Performance
 
linux_Commads
linux_Commadslinux_Commads
linux_Commads
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)
 
BPF Tools 2017
BPF Tools 2017BPF Tools 2017
BPF Tools 2017
 
bcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challengesbcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challenges
 
Unix kernal
Unix kernalUnix kernal
Unix kernal
 
Rac introduction
Rac introductionRac introduction
Rac introduction
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
50 Most Frequently Used UNIX Linux Commands -hmftj
50 Most Frequently Used UNIX  Linux Commands -hmftj50 Most Frequently Used UNIX  Linux Commands -hmftj
50 Most Frequently Used UNIX Linux Commands -hmftj
 
Debug generic process
Debug generic processDebug generic process
Debug generic process
 
Linux class 9 15 oct 2021-5
Linux class 9   15 oct 2021-5Linux class 9   15 oct 2021-5
Linux class 9 15 oct 2021-5
 
Linux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compactLinux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compact
 
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan Gregg
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan GreggKernel Recipes 2017 - Using Linux perf at Netflix - Brendan Gregg
Kernel Recipes 2017 - Using Linux perf at Netflix - Brendan Gregg
 
Kernel Recipes 2017: Using Linux perf at Netflix
Kernel Recipes 2017: Using Linux perf at NetflixKernel Recipes 2017: Using Linux perf at Netflix
Kernel Recipes 2017: Using Linux perf at Netflix
 
How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...
How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...
How to Shutdown Netapp Cluster Mode Storage System with Multi-Node Cluster (6...
 
LSA2 - 02 Namespaces
LSA2 - 02  NamespacesLSA2 - 02  Namespaces
LSA2 - 02 Namespaces
 
Really useful linux commands
Really useful linux commandsReally useful linux commands
Really useful linux commands
 

Más de Accenture

Certify 2014trends-report
Certify 2014trends-reportCertify 2014trends-report
Certify 2014trends-reportAccenture
 
Calabrio analyze
Calabrio analyzeCalabrio analyze
Calabrio analyzeAccenture
 
Performance problems on ethernet networks when the e0m management interface i...
Performance problems on ethernet networks when the e0m management interface i...Performance problems on ethernet networks when the e0m management interface i...
Performance problems on ethernet networks when the e0m management interface i...Accenture
 
NetApp system installation workbook Spokane
NetApp system installation workbook SpokaneNetApp system installation workbook Spokane
NetApp system installation workbook SpokaneAccenture
 
Migrate volume in akfiler7
Migrate volume in akfiler7Migrate volume in akfiler7
Migrate volume in akfiler7Accenture
 
Migrate vol in akfiler7
Migrate vol in akfiler7Migrate vol in akfiler7
Migrate vol in akfiler7Accenture
 
Data storage requirements AK
Data storage requirements AKData storage requirements AK
Data storage requirements AKAccenture
 
C mode class
C mode classC mode class
C mode classAccenture
 
Akfiler upgrades providence july 2012
Akfiler upgrades providence july 2012Akfiler upgrades providence july 2012
Akfiler upgrades providence july 2012Accenture
 
Reporting demo
Reporting demoReporting demo
Reporting demoAccenture
 
Net app virtualization preso
Net app virtualization presoNet app virtualization preso
Net app virtualization presoAccenture
 
Providence net app upgrade plan PPMC
Providence net app upgrade plan PPMCProvidence net app upgrade plan PPMC
Providence net app upgrade plan PPMCAccenture
 
WSC Net App storage for windows challenges and solutions
WSC Net App storage for windows challenges and solutionsWSC Net App storage for windows challenges and solutions
WSC Net App storage for windows challenges and solutionsAccenture
 
50,000-seat_VMware_view_deployment
50,000-seat_VMware_view_deployment50,000-seat_VMware_view_deployment
50,000-seat_VMware_view_deploymentAccenture
 
Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...
Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...
Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...Accenture
 
Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11
Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11
Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11Accenture
 
Snap mirror source to tape to destination scenario
Snap mirror source to tape to destination scenarioSnap mirror source to tape to destination scenario
Snap mirror source to tape to destination scenarioAccenture
 
Ref arch for ve sg248155
Ref arch for ve sg248155Ref arch for ve sg248155
Ref arch for ve sg248155Accenture
 
PAM g.tr 3832
PAM g.tr 3832PAM g.tr 3832
PAM g.tr 3832Accenture
 

Más de Accenture (20)

Certify 2014trends-report
Certify 2014trends-reportCertify 2014trends-report
Certify 2014trends-report
 
Calabrio analyze
Calabrio analyzeCalabrio analyze
Calabrio analyze
 
Performance problems on ethernet networks when the e0m management interface i...
Performance problems on ethernet networks when the e0m management interface i...Performance problems on ethernet networks when the e0m management interface i...
Performance problems on ethernet networks when the e0m management interface i...
 
NetApp system installation workbook Spokane
NetApp system installation workbook SpokaneNetApp system installation workbook Spokane
NetApp system installation workbook Spokane
 
Migrate volume in akfiler7
Migrate volume in akfiler7Migrate volume in akfiler7
Migrate volume in akfiler7
 
Migrate vol in akfiler7
Migrate vol in akfiler7Migrate vol in akfiler7
Migrate vol in akfiler7
 
Data storage requirements AK
Data storage requirements AKData storage requirements AK
Data storage requirements AK
 
C mode class
C mode classC mode class
C mode class
 
Akfiler upgrades providence july 2012
Akfiler upgrades providence july 2012Akfiler upgrades providence july 2012
Akfiler upgrades providence july 2012
 
NA notes
NA notesNA notes
NA notes
 
Reporting demo
Reporting demoReporting demo
Reporting demo
 
Net app virtualization preso
Net app virtualization presoNet app virtualization preso
Net app virtualization preso
 
Providence net app upgrade plan PPMC
Providence net app upgrade plan PPMCProvidence net app upgrade plan PPMC
Providence net app upgrade plan PPMC
 
WSC Net App storage for windows challenges and solutions
WSC Net App storage for windows challenges and solutionsWSC Net App storage for windows challenges and solutions
WSC Net App storage for windows challenges and solutions
 
50,000-seat_VMware_view_deployment
50,000-seat_VMware_view_deployment50,000-seat_VMware_view_deployment
50,000-seat_VMware_view_deployment
 
Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...
Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...
Tr 3998 -deployment_guide_for_hosted_shared_desktops_and_on-demand_applicatio...
 
Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11
Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11
Tr 3749 -net_app_storage_best_practices_for_v_mware_vsphere,_dec_11
 
Snap mirror source to tape to destination scenario
Snap mirror source to tape to destination scenarioSnap mirror source to tape to destination scenario
Snap mirror source to tape to destination scenario
 
Ref arch for ve sg248155
Ref arch for ve sg248155Ref arch for ve sg248155
Ref arch for ve sg248155
 
PAM g.tr 3832
PAM g.tr 3832PAM g.tr 3832
PAM g.tr 3832
 

Último

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Perf stat windows

  • 1. Performance and Statistics Collector (Perfstat 7-mode) 7.36 UNIX/Linux, 7.36 Windows Windows rsh may hang if there are no remaining ports on the filer for the stderr socket. The filer will indicate "couldn't connect second port". Perfstat should detect and abort the command, but output from the command is lost, and in rare circumstances the command may have to be killed by hand. Aborted instances of rsh may cause console warnings about inaccessible files. Windows disk performance counters are assumed to be enabled. Older versions of windows may require explicit activation with diskperf -y and a reboot. Perfstat on Windows XP Service Pack 2 will display "Terminal read..." errors. This is a problem in rsh.exe - see Microsoft KB article: KB892099. Perfstat: Version 7.36 4-2011 - perfstat.exe is a tool for capturing performance and configuration statistics. - Output from perfstat is sent to standard out and is typically captured in an output file for later analysis. - perfstat.exe is capable of capturing info from one Windows host and multiple NetApp storage controllers simultaneously. - For controller data capture, the user must have RSH or SSH privileges to the controller. Unless instructed otherwise, perfstat will use 'root' as the default username to communicate remotely with storage controllers.  Usage: (basic options list) perfstat [-f controllername] [-t time] > perfstat.out perfstat –f akfiler7.ak.providence.org -t 5 -I 5 -I > perfstat"Date_%date:~4,2%%date:~7,2%%date:~10,4%Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s" H:NAUtilyperfstat7_20110411.exe -f NAS2854 -t 5 -I 5 -I > perfstat"NAS2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s" where: -f controllername - host name or IP address of target controller -t time - collect performance data for 'time' minutes Simple Example: Capture data on local host and one controller for 5 minutes: perfstat -f controller1 -t 5 > perfstat.out Capture data on multiple hosts and controllers for 10 minutes: perfstat -f controller1,controller2 -t 10 > perfstat.out Capture data for five 1 minute iterations, with 10 minutes between successive iterations: perfstat -f controller1 -t 1 -i 5,10 > perfstat.out
  • 2. Usage: (more perfstat [-f [-t [-i complete options list) controllername[,controllername1,controllername2,...]] time] (sample time per iteration, default 2) n[,m]] (repeat n times with m minutes between samples, defaults: n=1,m=0) [-I] (force perfstat to execute all iterations) [-l login[:password]] (rsh/ssh login and password for rsh only) [-F] (do not capture information from local host) [-V] (do not capture vfiler data) [-p] (capture performance data only, no config info [-c] (capture config info only, no performance data [-L] (capture logs - beware verbose output [-E cmd[,cmd2,cmd3]... (exclude commands) [-P domain1[,domain2,domain3...] (capture profiles, use "-P flat" to capture complete profile) [-v] (print version info only) [-q] (quiet mode - suppress all console input) [-x] (print what commands will be issued without actually issuing them [-d] (debug mode - beware verbose output) [-m msinfo_path] (path to msinfo32.exe) [-S pw:|kf:] (use ssh instead of rsh) [-k] (disable collection of "stutter" statit; i.e., collect 1 statit report that covers the entire iteration) [-K] (collect only "stutter" statit reports over the entire iteration) [-T default | sk_mod,level[,sk_mod2,level,...]] (collect sktrace) [-B sk_buffer_size] (specify sktrace buffer size) [-C seconds] (the number of seconds to wait on command processesdefault is 70 seconds) [-w minutes] (total number of minutes to wait for perfstat execution to complete. Default will be 5 minutes) Notes: -P saves profiling data in a subdirectory 'gmon' of the current working directory and deletes any existing gmon files on the controller -E exludes all foreground commands that have at least the cmd as a substring; E.g. -E snap,vol - excludes all 'snap*' and 'vol*' commands -E "snap list -v" - excludes only the command 'snap list -v' -S requires the plink ssh client to be available in the working path
  • 3. To authenticate with a password, use the syntax -S pw: For public key authentication, use the syntax -S kf:, where keyfile is a Putty private keyfile created with puttygen. plink and puttygen are available for free download at http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Additionally, the -l option can be used to specify usernames for controller login. E.g., perfstat.exe -S -l user -T used to toggle sktrace collection and specify sk modules and the levels at which trace data should be collected for those modules. Some valid sk modules include SK, WAFL, DISK, and SCSITARGET. For default values of 'SK 7 WAFL 4', specify '-T default'. sktrace data will be copied off of the controller(s) and into the current working directory from where perfstat was invoked. values of 'SK 7 WAFL 4', specify '-T default'. sktrace data will be copied off of the controller(s) and into the current working directory from where perfstat was invoked. -B used to manually set the sktrace buffer size. By default, perfstat will use a default value of '40m' (40MB). Please note that it is required that the units be specified with the size in the format: k (KB), m (MB), or g (GB). This value should only be changed if specifically advised by global support. Early termination of execution: as of v7.00 perfstat will terminate iterations early if a calculated max runtime is met or exceeded. If it is required that perfstat must execute all iterations regardless of the total runtime, please use the '-I' option. Monitoring for 24 hour periods A common practice is to capture perfstat data 24 hours a day and archive some number of data samples (e.g. 1 week worth). The recommended method for doing this is to capture multiple small samples throughout the day, rather than one 24 hour sample. Many customers script this or place it in the cron job log. Here are some typical examples: perfstat -f filer1 -t 30 -i 46 > perfstat.$date.out NOTE: For Windows users the example below shows a nice way to format perfstat output file names with date and time information: perfstat -f filer1 -t 30 -i 46 > perfstat-"Date_%date:~4,2%%date:~7,2%%date:~10,4%Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s" Both examples above will capture 46 samples of 30 minute intervals. This is a total of 23 hours. Since perfstat uses a lot of rsh commands and the time to complete the rsh's can vary, it often runs for slightly longer than the specified time. To compensate for this (and not have 2 perfstat tools running concurrently), we recommend a 23 hour run to cover a 24 hour period.
  • 4. H:NAUtily>perfstat7_20110411.exe -f NAS2854 -t 5 -I 5 -I > perfstat-"NAS2854_D ate_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time:~3,2%m%time:~6,2%s " Perfstat v7.36 (4-2011) RSH to filer NAS2854 fails! Quitting. H:NAUtily>perfstat7_20110411.exe -f NAS2854.providence.org -t 5 -I 5 -I > perf stat-"NAS2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time:~3, 2%m%time:~6,2%s" Perfstat v7.36 (4-2011) RSH to filer NAS2854.providence.org fails! Quitting. H:NAUtily>perfstat7_20110411.exe -f 170.220.66.13 -t 5 -I 5 -I > perfstat-"NAS 2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time:~3,2%m%time: ~6,2%s" Perfstat v7.36 (4-2011) RSH to filer 170.220.66.13 fails! Quitting. H:NAUtily>perfstat7_20110411.exe -f akfiler5.ak.providence.org -t 5 -I 5 -I > perfstat-"NAS2854_Date_%date:~4,2%%date:~7,2%%date:~10,4%-Time_%time:~0,2%h%time :~3,2%m%time:~6,2%s" Perfstat v7.36 (4-2011) RSH to filer akfiler5.ak.providence.org fails! Quitting. H:NAUtily>