hammer
by Chris Kranz on Feb.06, 2009, under Undocumented Commands
*** WARNING *** Hammer is a system level stress test.
CPU utilization may approach 100 percent
with very high disk IO rate when hammer is run.
This may adversely affect system performance
and may cause loss of filer service.
Hammer is an undocumented, unsuppported command.
This commands just wants to be used by people like me! Another stress test tool like filersio. This doesn’t do any sort of reporting though, it just hammers the system! So use something like sysstat or stats to report on what the filer is doing.
usage: hammer [abort|pause|restart|status|
[-f]<# Runs><fileName><# BlocksInFile> (<# Runs> == -1 runs hammer forever)|
fill <writeSize> (use all available disk space)]
filer1*> hammer -f 5 /vol/vol0/hammer.txt 400
Mon Dec 8 12:32:02 GMT [blacksmith:warning]: blacksmith #0: Starting work.
filer1*> hammer status
blacksmith #0: file /vol/vol0/hammer.txt, 580 KB of 1600 KB writesize 4096 bytes, iteration 1 of 5 – Writing
filer1*> hammer status
blacksmith #0: file /vol/vol0/hammer.txt, 1600 KB of 1600 KB writesize 4096 bytes, iteration 1 of 5 – Writing
filer1*> hammer status
blacksmith #0: file /vol/vol0/hammer.txt, 652 KB of 1600 KB writesize 4096 bytes, iteration 2 of 5 – Writing
filer1*> hammer status
blacksmith #0: file /vol/vol0/hammer.txt, 1600 KB of 1600 KB writesize 4096 bytes, iteration 2 of 5 – Writing
filer1*> Mon Dec 8 12:32:13 GMT [blacksmith:info]: blacksmith #0: No errors detected. Stopping work










































