252 reputation
15
bio website
location New York City
age
visits member for 2 years, 11 months
seen Nov 13 at 23:40

I'm a junior sysadmin at a managed services shop in NYC.


Sep
24
awarded  Autobiographer
Jan
22
awarded  Yearling
Jan
16
comment Find out public ip address of the EC2 server
Nice! Fuller reference: docs.aws.amazon.com/AWSEC2/latest/UserGuide/…
Nov
25
awarded  Critic
Nov
25
answered How do I delete everything in the /tmp/ folder?
Nov
25
answered Does a CDN still work even when my server is down?
Nov
25
comment Linux: Trigger a real-time alarm on a low disk space condition
With that said, I'm very skeptical you really need to know within a second unless you have a pretty unusual workload. Even in professional situations, monitoring critical/revenue-impacting systems, I've never seen a monitoring interval lower than a minute. In real life, it just doesn't actually make enough of a difference to be worth the cost. With that said, as I mentioned, you're only monitoring 1 machine, not 10,000, so knock yourself out and set 1-second thresholds in Nagios! It's wasteful to rewrite everything yourself (unless you're doing so for learning/fun of course).
Nov
25
comment Linux: Trigger a real-time alarm on a low disk space condition
So set a very short polling interval for the alerts that you are so careful about. I'm sure you can monitor disk space at 1 second intervals on a single machine without any performance issues. Since human beings can't react much quicker than that anyway, it makes the fastidious "difference" between "polling" and "notification" irrelevant.
Jun
4
comment How to delete all hidden files and directories using Bash?
And there's always rm -rf .* || true if you just want to get around the set -e behavior for that one statement.
Jun
4
comment How to delete all hidden files and directories using Bash?
Careful! You mean -iname '.*' or -iname .* or else you will drag in . and .. again anyway.
Jun
4
answered In Bash, file starts with a “-”
Feb
17
answered Is it safe to use Bitbucket as a remote for an /etc Git repo?
Feb
4
awarded  Commentator
Feb
4
comment How does a registrar use the nameserver record to point domain name at a server?
With that said your question's a little confusing. Can you clarify what you want and why?
Feb
4
comment How does a registrar use the nameserver record to point domain name at a server?
Hypothetically, if you used your own nameserver, you could CNAME domains to your webhost's server. The httpd on their server would still have to know what to do when clients present your original domain in the Host HTTP header, of course.
Feb
4
comment Linux Unable to Write to Directory Despite Permissions
/proc/mounts? Just running the "mount" command is more portable. mount | grep var
Feb
4
answered getting a 403 error
Feb
4
answered How does a registrar use the nameserver record to point domain name at a server?
Feb
3
comment Apache 2 Listening on Port 9999, but Can't Reach Through DNS Host
I doubt the domain name makes a difference; your results will probably be the same if you manually nslookup to determine your server's IP and use that instead. How is the server hosted? Sounds like you're talking about software firewall on the server itself. But I suspect the traffic is being blocked somewhere between the server and the client. E.g., by the hosting. Open a support ticket with the company you host your server machine with. Ask them to verify whether TCP port 9999 inbound is open to your server.
Jan
23
comment centos vsftp virtual users gui manager
Then check your config file carefully to check you didn't make any small mistake.