From time to time you may have a raw disk image that you have made with the dd tool, or something similar. If it’s a backup of a single partition then it can be mounted in Linux using the loopback feature pretty easily, so long as you know the filesystem type, such as ext4, vfat or ntfs for …
Perhaps you’re trying to find out where all your incoming connections are coming from to a server. If for example, it’s a MySQL database then you may be interested in connections on TCP port 3306.
netstat -n | grep :3306 | awk '{ print $5 }' | cut -d':' -f1 | sort -n | …
Perhaps an instance is running low on disk space and you’d like to extend it? Unfortunately on Skyscape there doesn’t seem to be a way to do this via terraform at present, but it can be achieved manually by:
Skyscape Portal Login to the SkyScape’s portal Locate the vApp in …
This example is for larger than 1GB…
find /home -size +1000000k -exec du -sh {} \; if they are logs, you might want to truncate them…
/usr/local/bin/trunc_our_app_logs.sh
#!/bin/bash # NG20110329 - To trunc those pesky logs # ... trailing slashes are best as they work with symlinks …