forweather.blogg.se

How to open an ips file
How to open an ips file








Using a hosts file, you can change the IP address that you resolve a given domain name to. Running the df -h command again now shows that the disk usage for /cache is at the expected level.The hosts file is used to map hostnames (in other words domains) to IP addresses.

how to open an ips file

Stop the process that is still using the file with the kill -9 command. The results show that the tail process (with PID 27249) is using the /cache/log/test1.log file. You can check for processes using the deleted files with lsof +L1 command. Identifying the processes that are using the deleted files

how to open an ips file

This can occur if the file is still in use when you delete it. In this example, we run:Īfter removing the files, run the df -h command again to verify that the space usage is reduced.Īs seen in the last image, you might find that the space usage is not reduced after removing the large files. Once you locate the files that are using too much space, you can remove them with the rm / command. If you find too many results, you might want to change the command to +100M or +200M to receive fewer results. Note: The +50M in the command returns files greater than 50 MB in size. We can see that the test1.log and test2.log files in the /cache/log directory are very large and are taking most of the space in the 14 GB partition. In this example, we are looking in the /cache partition, so we run:įind /cache -xdev -size +50M -print0 | xargs -0 ls -lh Run the following command to determine what file is huge in the /cache partition:įind -xdev -size +50M -print0 | xargs -0 ls -lh

how to open an ips file

In this example, we can see that the /cache partition is nearly full. You can determine which partition is full with the df -h command. You can manually force the process to stop, allowing the file to be deleted and the partition to free up space.










How to open an ips file