Tag Archives: Tips & tricks

Setting memory size for Hitachi Command Suite CLI (HICommandCLI)

When running CLI for Hitachi Command Suit (HICommandCLI.sh in UNIX or HICommandCLI.bat in Windows) we sometimes get this type of error: KAIC90574-E The memory for the CLI became insufficient while this operation was being performed Command Suite CLI is actually … Continue reading

Posted in Storage, Tips & tricks | Tagged , , , , , , , | Leave a comment

How can you find out which process is listening on a port on Windows?

If you can start cmd as an Administrator, simple run: netstat -nab which will give you the list of open sockets along with the names of processes. In other case you can try to find it by process-id manually. For … Continue reading

Posted in Tips & tricks | Tagged , , , , | Leave a comment

Quick reference for adding and attaching drives in VirtualBox CLI

Recently VirtualBox Manager GUI running on my Windows box, began to crash without any known reason when creating new or attaching existent virtual drives to any of the virtual machines. So I have to do all the things using CLI now and definitely I enjoy the … Continue reading

Posted in Storage, Tips & tricks | Tagged , , , | Leave a comment

Quick check for Command Devices mapped from Hitachi arrays

In CCI, under HORCM/etc run: raidscan -x findcmddev 0-100 If Tuning Manager Agents are installed: INSTALLATION-PATH/jp1pc/tools/jpctdlistraid In MS Windows it’s better to specify Command devices like \\.\CMD-12345 instead of \\.\PhysicalDriveX where possible to avoid occasional drive mix after reboot.

Posted in Storage, Tips & tricks | Tagged , , , , , , , , , , , | Leave a comment

Grouping commands in the Bourne Shell (sh)

Parentheses are used to run commands in a subshell: $ foo=bar $ echo $foo bar $ (foo=superbar; echo $foo) superbar $ echo $foo bar Curly braces are for grouping commands into a list to run in the current shell. But … Continue reading

Posted in Tips & tricks | Tagged , , , , | Leave a comment