Nummber waiting process using this same resources

Script check process with status waiting for disk resourcess  sort list and present proc manual show states state %c One of the following characters, indicating process state: R Running S Sleeping in an interruptible wait D Waiting in uninterruptible disk sleep Z Zombie T Stopped (on a signal) or (before Linux 2.6.33) trace stopped t…

Which disks are attached to a card Fibre Channel

Is simple method check attached disk to HBA card . 1strep we net check pci of Fibre card . dmesg | grep lpfc #or lspci | grep Fiber     lspci | grep “Fibre Channel” 0a:04.0 Fibre Channel: Emulex Corporation Helios-X LightPulse Fibre Channel Host Adapter (rev 01) 0a:04.1 Fibre Channel: Emulex Corporation Helios-X LightPulse…

hp Raid control on ESX v 5,6and 7 hpssacli

Show all configuration hpssacli ctrl all show config Controller status all hpssacli ctrl all show status Show detailed controller information for all controllers hpssacli ctrl all show detail Show detailed controller information for controller in slot 0 hpssacli ctrl slot=0 show detail Rescan for New Devices hpssacli rescan Physical disk status hpssacli ctrl slot=0 pd…

look for date created file on disk, real date

In linux system you can easily change date created file on disk.Sometimes you need tools for check original date modification file by user. Helpfulness can be debugfs tools . This simple bash script generate log from debugfs about files user, in output you get ctime atime mtime and most importan crtime run script with aparameter…