Browsing articles tagged with "unix - Admins Goodies"
Feb 17, 2013
tom

can I delete the files in the proc folder without consequence?

I see my proc folder getting bigger and bigger and I have limitation in terms of number of files. Can I delete those files or will it have consequences? thanks Asked by Johan You can not delete them since they are not files. /proc is mounted using the procFS, which is not a real filesystem. Instead the contents are generated the moment you try to read from them. This also means it is not using [...]

Continue Reading »
Jan 14, 2013
tom

GIT issue in AIX 6.1

I recently installed GIT 1.8.1 on my AIX 6.1 machine and am facing a few issues with it. Now if I login as root and issue git commands like git –version I get the response as shown : Code: git version 1.8.1 And I have tried creating repositories as root too and it works fine. Now If I login as just a normal user and if I issue the version command : git –version I [...]

Continue Reading »
Jan 3, 2013
tom

removing the ‘www’ in bind9 dns

I want to create a record in my zone file which, by default goes to my webserver when I type in “mydomain.com” as opposed to “www.mydomain.com” <– working. can someone give me some pointers, I know this is probably very easy but the search terms lead google to just spit out useless info. UPDATED (with zone file) $ORIGIN mydomain.com.$TTL 3D@ SOA dns.mydomain.com. root.mydomain.com. (12 4h 1h 1w 1h) @ IN NS dns.mydomain.com.dns.mydomain.com. IN A my.ip.add.ress [...]

Continue Reading »
Nov 21, 2012
tom

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that process ? What I see is I am deallocating memory. But I still see gnome-system-monitor displaying growing memory for my program. I don’t find memory leak in my end. I want to know whether its not displaying released memory ? or there [...]

Continue Reading »
Nov 19, 2012
tom

Unix printing a banner page on every print job

I have a Data General server on unix that is printing a banner page on every print. I originally thought that the banner page was comming from the printer. As this is an HP printer, I used telnet to get to the jetadmin and then proceded to disable the banner page, but this did not solve the issue. I then went into the sysadm program to see if the TCPIP printing was set to print [...]

Continue Reading »
Nov 5, 2012
tom

On Unix/Linux OS machines are showing less memory [closed]

Why on Unix/Linux OS machines are showing less memory (RAM) than it is? Let say i have Ubuntu machine whose have 1024 MB ram, when i open “System Monitor” “Resources” tab it shows 1001.2 MB. How i can get all RAM from Unix/Linux machines? link doesn’t help -http://serverfault.com/questions/9442/why-does-red-hat-linux-report-less-free-memory-on-the-system-than-is-actually-av Asked by krapstuke You have provided a very vague sentence but i’ll do my best. You likely have an integrated graphics card. A portion of the ram [...]

Continue Reading »
Oct 17, 2012
tom

Gitolite SSH URL Format

So I got gitolite set up. Simple. But there is one issue I am having. The SSH urls follow the format of git@host:repo. I’m used to Bitbucket / Github where the urls follow the format of git@host:user/repo. Is there a way to get the latter format using gitolite? Another question. I have my ~/.ssh/config file set up with the following entry: Host <host> User <user> IdentityFile <path/to/public/key> I don’t have any configuration specifying git as [...]

Continue Reading »
Sep 26, 2012
tom

How do you guys feel about Centrify? [closed]

Can some proved an argument for and against using centrify? We are currently considering it and I am curious if there are good alternatives to centralize all of our Ubuntu, Red Hat, Solaris servers. The big sell is that fact we do not have to be experts to be on the OS, centrify does that with the agent. Thanks! Asked by rbarrette My info is not current, as it was more than 4 years ago. [...]

Continue Reading »
Sep 21, 2012
tom

How to check which mta / mail program is in use?

Is there a command to tell me what MTA/sendmail a unix system uses? Thanks very much Asked by Alex [root@dev ~]# netstat -tlnp |grep :25 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1614/sendmail or [root@dev ~]# lsof -n -i :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sendmail 1614 root 4u IPv4 1413591375 0t0 TCP 127.0.0.1:smtp (LISTEN) That should do the trick. If you can’t access the server, telnet to port 25 on it, [...]

Continue Reading »
Sep 4, 2012
tom

syslog ip ranges to specific files using `rsyslog`

I have many Cisco / JunOS routers and switches that send logs to my Debian server, which uses rsyslogd. How can I configure rsyslogd to send these router / switch logs to a specific file, based on their source IP address? I do not want to pollute general system logs with these entries. For instance: all routers in Chicago (source ip block: 172.17.25.0/24) to only log to /var/log/net/chicago.log. all routers in Dallas (source ip block [...]

Continue Reading »
Pages:1234567...70»