Use this tag for asking about programs you have written to perform system-administration tasks. Non-programming questions about system administration are off-topic for Stack Overflow and should not be asked here.
Questions tagged [system-administration]
983 questions
2
votes
0 answers
How to properly link Python in Homebrew?
When updating Homebrew I got
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
python@2
What…

qazwsx
- 25,536
- 30
- 72
- 106
2
votes
0 answers
Is adding Homebrew's Python site-packages to macOS system a good idea?
When updating Homebrew I got the following warning:
==> Pouring py2cairo-1.15.4.high_sierra.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import…

qazwsx
- 25,536
- 30
- 72
- 106
2
votes
1 answer
Node Script to consume all available memory
In order to stress test a project i'm building, I need to write a Node script that attempts to consume all available RAM on the machine - allowing me to test if the mechanisms I have in place to detect and terminate such runaway processes work.
I…

Varun
- 23
- 4
2
votes
1 answer
Rancher Server Prefix
I'm trying to put a Rancher Server installation behind an Apache proxy server so my Rancher server dashboard will be available at
http://myserver.com/my-awesome-rancher
I'm able to route traffic to the Rancher Server container successfully. The…

Casey Blair
- 90
- 7
2
votes
1 answer
List Last Windows Password Change For All Users On A Non-Domain System
I have found an answer to this question for systems that are attached to an AD domain controller. However, this question is for standalone systems where there is no possibility of attaching to a domain controller. Essentially, air-gapped…

EvilEuro
- 23
- 1
- 4
2
votes
1 answer
Permissions issue while running SqlAgent Job
When I try to run a Sql agent job, I am making a check that, there are no prior instances running at the same time. The query is given below:
IF NOT EXISTS(SELECT
1
FROM msdb.dbo.sysjobactivity ja…

Venkataraman R
- 12,181
- 2
- 31
- 58
2
votes
6 answers
How can I kill all shells in Unix at once?
My Mac becomes slow over time. The reason is the huge amount of my shells, such as Bashes and Fishes. Each shell has different PID. Killing shells one by one is too cumbersome. How can I kill them at once?

Léo Léopold Hertz 준영
- 134,464
- 179
- 445
- 697
2
votes
1 answer
Cpanel Domain name not working
i installed cpanel from amazon marketplace on amazon server.
installation completed successfully.
i created a cpanel account from whm with some domain name.
i am trying to run html file from public html.
using domain name/file name
not…

Anupam Agnihotri
- 292
- 2
- 17
2
votes
1 answer
How i configure my apache to enable email sent in php?
Maybe is a stupid question... but i need to configure my apache+php to send emails via PHP? i have to set a domain to it? the domain has to be configured via DNS?
any lights here please ^^
TIA.

MDiaz
- 168
- 1
- 7
2
votes
1 answer
How do you change a computers IP address with Fabric without hanging?
I have a small fabric script that changes the IP of a server:
from cStringIO import StringIO
import os
import fabric
import fabric.api
import jinja2
fabric.state.env['hosts'] = '10.1.0.4'
def render(tpl_path, context):
path, filename =…

Tim Ludwinski
- 2,704
- 30
- 34
2
votes
1 answer
How to install older version of google chrome for centos?
I have currentlly installed Centos 6.8. i have try to install google chrome browser, but it's some error based on the way installation.
when i have try install "yum" way of terminal. it's showing error like:
[root@ss4u238 ~]# yum install…

Bala
- 31
- 1
- 4
2
votes
1 answer
How to detect anomalous resource consumption reliably?
This question is about a whole class of similar problems, but I'll ask it as a concrete example.
I have a server with a file system whose contents fluctuate. I need to monitor the available space on this file system to ensure that it doesn't fill…

Brent.Longborough
- 9,567
- 10
- 42
- 62
2
votes
3 answers
A program to kill long-running runaway programs
I manage Unix systems where, sometimes, programs like CGI scripts run forever, sometimes eating a lot of CPU time and wasting resources.
I want a program (typically invoked from cron) which can kill these runaways, based on the following criteria…

bortzmeyer
- 34,164
- 12
- 67
- 91
2
votes
2 answers
tcpdump to filter tcp traffic into csv file
Can somebody tells me how to use tcpdump to filter out udp or tcp traffic on a specific source and destination ip and save the output into a csv file?
Its not necessary a csv file if I can convert the pcap file into a csv by using an etl tool.
Also…

Balázs Kreith
- 141
- 2
- 8
2
votes
1 answer
Thousand of messages in Event Viewer
I have a web service running in IIS, there are no errors being thrown and everything works great. BUT I notice that there are thousands of Messages in the Event viewer. Every time I send a request to the web service, a few of this messages are added…

Damian
- 63
- 1
- 5