Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-11-2005, 01:25 AM   #1
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
system admins: easy 1

give me a 1 line command to tell me how much free space I have on my hard disk using SSH/Bash on a Unix system and If it's lower then 100mb to send me a letter.
__________________
* Mainstream ? $65 per sale
* new male contraception

Last edited by Zester; 04-11-2005 at 01:28 AM..
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 02:03 AM   #2
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
Quote:
Originally Posted by Zester
give me a 1 line command to tell me how much free space I have on my hard disk using SSH/Bash on a Unix system and If it's lower then 100mb to send me a letter.
c'mon, its suppose to be easy, the "df" command and the "mail" command
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 02:05 AM   #3
pstation
Confirmed User
 
Join Date: Jul 2003
Location: chicago
Posts: 1,135
oops, wrong thing
pstation is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 03:20 AM   #4
Workshop_Willy
Confirmed User
 
Join Date: Oct 2004
Location: Southern California
Posts: 452
Quote:
Originally Posted by Zester
give me a 1 line command to tell me how much free space I have on my hard disk using SSH/Bash on a Unix system and If it's lower then 100mb to send me a letter.

for which mounted filesystem?
Workshop_Willy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 03:21 AM   #5
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
what do you do ?
you post a lot of newb questions daily.
have you met google ?
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 03:23 AM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
df -H

will show you that
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 05:14 AM   #7
prime
Confirmed User
 
Join Date: Feb 2005
Location: Manila
Posts: 400
Zester mr. google is waiting for you
__________________

| offshore solutions | manual labor | staff leasing | and more!
Dedicated -Motivated-Managed Employees
icq.: 309570461 live chat
prime is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 07:13 AM   #8
SinisterStudios
Confirmed User
 
Join Date: Nov 2003
Location: New Joisey
Posts: 3,087
Dude, if you dont know that you should;

Step Away From the Console and go back to windows.

I think DF is like the 2 or 3 command i learned in unix/linux
__________________
SEOIP.com
Multiple IP Webhosting
Shared and Dedicated IP's - Multiple Class A's - From $1.99/ip
SinisterStudios is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2005, 07:42 AM   #9
pstation
Confirmed User
 
Join Date: Jul 2003
Location: chicago
Posts: 1,135
Quote:
free=`df -k | awk '{sum += $4;}END{print sum}'`; if [ $free -gt "`expr 1024 \* 1024 \* 100`" ]; then echo "Space is dangerously low" | mail -s "System Alert" [email protected]; fi;
try that....
pstation is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.