Searched high and low for a command to get CPU usage on the internet to no avail. From a DOS command prompt (Windows server 2003) CPU usage for all nodes: SNMP was my other alternative, but not all deployments would have this service. This does not aggregate the values, nor does it easily feed into [...]
Archive for the ‘DOS’ Category
Windows get CPU usage command
Posted in DOS, tagged CPU, DOS CPU usage, utilization on November 16, 2010 | Leave a Comment »
Auto execute psql commands via batch file
Posted in DOS, tagged bat file, batch file, DOS, psql on November 11, 2010 | Leave a Comment »
psql via command line does not have an option for password. To run a scheduled task using psql is pointless without full automation. Warning postgres recommends against doing this, and instead use a password file. I use this script to kick off the psql command in python. But you can execute psql straight from the [...]