The more time passes the closer to Unix style Windows gets.
:\Users\Administrator>powercfg -h on
:\Users\Administrator>shutdown -h
That’s all !
The more time passes the closer to Unix style Windows gets.
:\Users\Administrator>powercfg -h on
:\Users\Administrator>shutdown -h
That’s all !
Enable grub menu:
edit the /etc/default/grub file and change the
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
to
GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=false
Save and call:
sudo update-grub
from a terminal, and reboot.
On Debian based systems like Ubuntu:
# dpkg --list | grep linux-image
Type the following command:
# uname -r
# uname -mrs
With rpm based OSes
# rpm -qa kernel
This will list the available kernels.
Type the following command:
# uname -r
# uname -mrs
If an instance gets stuck in an intermediate state (e.g., “deleting”), you can manually reset the state of an instance using the nova reset-state command. This will reset it to an error state, which you can then delete. For example:
$ nova reset-state c6bbbf26-b40a-47e7-8d5c-eb17bf65c485
$ nova delete c6bbbf26-b40a-47e7-8d5c-eb17bf65c485
You can also use the --active to force the instance back into an active state instead of an error state, for example:
$ nova reset-state –active c6bbbf26-b40a-47e7-8d5c-eb17bf65c485
![]() |
Note |
|---|---|
The version of the nova client that ships with Essex on most distributions does not support the reset-statecommand. You can download a more recent version of the nova client from PyPI. The package name ispython-novaclient, which can be installed using a Python package tool such as pip. |
The log files are located here :
/var/logs/nova
Logfiles are :
nova-api.log
nova-cert.log
nova-compute.log
nova-dhcpbridge.log
nova-manage.log
nova-network.log
nova-objectstore.log
nova-scheduler.log
nova-volume.log
nova-xvpvncproxy.log
The magic spell is :
$sudo apt-get update; sudo apt-get upgrade
kickstart postinstall, you can read how to do this on the internet.
wget http://foo/tools.tar.gz
tar xzvf *.tar.gz
cd directory-where-you-untarred
vmware-tools-install.pl -d
BINGO !
Giggidi Giggidi
While this is a Linux forum this came in REALLY handy so what the heck 🙂
Frustratingly hidden away, windows command for putting the machine into Hibernate and / or standby are hidden away in the api under the powrprof.dll library.
Shutdown %windir%\System32\shutdown.exe -s
Reboot %windir%\System32\shutdown.exe -r
Logoff %windir%\System32\shutdown.exe -l
Standby %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby
Hibernate %windir%\System32\shutdown.exe -h OR
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
Also if you Windows 7 wakes up and you don’t know why check:
powercfg lastwake
Hope this helps.
Let’s say you have a subnet 192.168.1.0 / 24 and you want to scan all ip’s to see if any hosts are up:
Type the following command, enter:
$ for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq 0 ] && echo “192.168.1.$ip UP” || : ; done
Output:
192.168.1.65 UP
192.168.1.66 UP
192.168.1.70 UP
192.168.1.76 UP
192.168.1.253 UP
192.168.1.254 UP