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
ubuntu-build
UBUNTU-BUILD(1) General Commands Manual UBUNTU-BUILD(1)
NAME
ubuntu-build - command-line interface to Launchpad build operations
SYNOPSIS
ubuntu-build <srcpackage> <release> <operation>
DESCRIPTION
ubuntu-build provides a command line interface to the Launchpad build operations.
OPERATIONS
Listed below are the available operations for ubuntu-build:
status Outputs the build status of the package on Launchpad on all architectures.
retry Requests that the package has another attempt at rebuilding from source. This will only work if the package has Failed to build on
Launchpad.
rescore
Requests that the package's build priority be raised in the build queue. Only members of the Launchpad build administrators may
issue this operation, and it may only be performed on packages which Need building.
OPTIONS
Listed below are the command line options for ubuntu-build:
-h or --help
Display a help message and exit.
Retry and rescore options:
These options may only be used with the 'retry' and 'rescore' operations.
-a ARCHITECTURE, --arch=ARCHITECTURE Rebuild or rescore a specific architecture. Valid architectures include: amd64, sparc, powerpc,
i386, armel, armhf, ia64, lpia, hppa.
Batch processing:
These options and parameter ordering is only available in --batch mode. Usage: ubuntu-build --batch [options] <package>...
--batch Enable batch mode
--series=SERIES Selects the Ubuntu series to operate on (default: current development series)
--retry Retry builds (give-back).
--rescore=PRIORITY Rescore builds to <priority>.
--arch2=ARCHITECTURE Affect only 'architecture' (can be used several times). Valid architectures are: amd64, sparc, powerpc, i386,
armel, armhf, ia64, lpia, hppa.
AUTHORS
ubuntu-build was written by Martin Pitt <martin.pitt@canonical.com>, and this manual page was written by Jonathan Patrick Davies
<jpds@ubuntu.com>.
Both are released under the terms of the GNU General Public License, version 3 or (at your option) any later version.
ubuntu-dev-tools June 2010 UBUNTU-BUILD(1)