09-22-2018
Let me attempt to answer these one at a time:
1. how to stop all process in case hdd capacity is almost full and create space for system files? Not sure if you truly mean "all processes" as that would shut down the whole system. Or how you would intend to create space. If you are wanting to allocate more space from somewhere or if you want to remove unneeded files.
2. if possible, to prevent filesystem to write anything into hdd when there is such a risk? There is already such a threshold called "reserved space". You can actually fill a disk to 100% and see 0MB available and yet there is there is some reserved space to keep the system online. This can be adjusted, but its pretty standard to have in every Linux distro.
3. if there is any script that can manage/control the disk usage and protect the system? It's possible, but again, not sure if you are wanting to allocate more space from another resource or get rid of unneeded content. The reserved space I just mentioned may suffice for this problem as well.
4. if possible to fix via recovery mode when disk usage is at 100%? Yes, but as I also mentioned, SSH should still work at 100% because of the reserved space.
Last edited by Neo; 09-22-2018 at 03:14 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Im using solaris 8 on a Sunfire 280r. Is there a command to show you how much disk space is being used in gigabytes or megabytes. I dont think theres an option for this using the df command. not for solaris anyway.
thanks (3 Replies)
Discussion started by: lewisoco
3 Replies
2. UNIX for Dummies Questions & Answers
how to i find out the disk usage on a server.
say in windows examples its like C:/ D:/ and checking out the disk space.
how can i find in Unix.
can i just use df -k or should i go to each volume group and find that way.
plz respond (2 Replies)
Discussion started by: karthikosu
2 Replies
3. Shell Programming and Scripting
Hi,
I want to retrieve the directory in the shell script that is using maximum space on the disk.I was using du command but it displays all the directories that are using the space on the disk.How can retrieve the only directory which uses the maximum space on the disk??
Thanks in advance.
... (4 Replies)
Discussion started by: harikamamidala
4 Replies
4. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
5. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
6. Ubuntu
My PC (Esprimo, 3 yeas old) has one hard drive having 2 partitions C: (80 GB NTFS, XP) and D: (120 GB NTFS, empty) and and a 200 MB area that yet is not-partitioned.
I would like to try Ubuntu and to install Ubuntu on the not-partitioned area . The idea is to have the possibility to run... (7 Replies)
Discussion started by: C.Weidemann
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have always felt problems using commands to check disk usage, or I should say I might not be using the commands properly.
dfspace and free are 2 most frequent command that I use, but the data that it echoes is not comprehandable atleast to me.:wall::wall::wall::wall::wall:
I want... (4 Replies)
Discussion started by: TH3M0Nk
4 Replies
8. UNIX for Advanced & Expert Users
Hello,
I have an ubuntu14.04 installed pc with 32GB ram.
Operating System: Ubuntu 14.04.5 LTS
Kernel: Linux 4.9.148-xxxx-std-ipv6-64
Architecture: x86_64
When I check free memory it shows:
total used free shared buffers cached
Mem: 31882 ... (2 Replies)
Discussion started by: baris35
2 Replies
9. UNIX for Beginners Questions & Answers
HI I am Trying to edit the below code to send email every day with difference of disk utilized in for last 24 hours but instead getting same usage everyday. can you please help me to point out where my calculation is going wrong. Thank you.
=================
#!/bin/bash
TODAY="at $(date... (0 Replies)
Discussion started by: Mi4304
0 Replies
LEARN ABOUT DEBIAN
pbuilder-dist-simple
PBUILDER-DIST-SIMPLE(1) General Commands Manual PBUILDER-DIST-SIMPLE(1)
NAME
pbuilder-dist-simple - simple multi-release pbuilder wrapper
SYNOPSIS
pbuilder-<dist> operation [...]
DESCRIPTION
pbuilder-dist-simple is a wrapper that makes it easy to use pbuilder with chroots for many different Ubuntu distributions. If you need
more features than pbuilder-dist-simple provides, have a look at pbuilder-dist(1).
USAGE
Create one symlink to pbuilder-dist-simple for each distribution for which you want a build environment, naming them like "pbuilder-lucid",
"pbuilder-natty", etc.
Replace operation with the action you want pbuilder-dist-simple to do (create, update, build, clean, login or execute).
EXAMPLES
pbuilder-natty create
Creates a pbuilder environment for Ubuntu Natty.
pbuilder-lucid update
Updates an existing Ubuntu Lucid environment.
pbuilder-lucid build ./sample_1.0-0ubuntu1.dsc
Builds the specified package on an already existing Ubuntu Lucid environment.
FILES
By default, pbuilder-dist-simple will store all the files it generates in ~/pbuilder/. This can be changed by modifying the BASE_DIR value
on the top of the script to any other directory you want. If the directory doesn't exit, it will be created at runtime.
SEE ALSO
pbuilder(1), pbuilderrc(5), pbuilder-dist(1)
AUTHORS
pbuilder-dist was originally written by Jamin W. Collins <jcollins@asgardsrealm.net> and Jordan Mantha <mantha@ubuntu.com>, and this man-
page by Siegfried-A. Gevatter <rainct@ubuntu.com>.
Both are released under the GNU General Public License, version 2 or later.
ubuntu-dev-tools February 25, 2008 PBUILDER-DIST-SIMPLE(1)