System Maintenance


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users System Maintenance
# 1  
Old 04-03-2002
System Maintenance

How do I go about doing this??? Is there something to it other than cleaning up useless files?? if you have knowledge concerning this, please give your suggestions

also, is it possible or safe to compress an entire filesystem. how do you go about doing this??? any information is appreciated
# 2  
Old 04-03-2002
First of all these files are not useless. They tell you about the health of your system. System maintenance in short is System Administration, this is what I do everyday. It is the definition of a UNIX system admin.

I am not sure why you would want to compress an entire filesystem, that would be rather dangerous if it is a system directory necessary for the operation of the box. Very few if any filesystems are so full that you would need to compress everything in it.

You can do a "man compressdir" or "man compress". The compressdir command will recursively descend through subdirectories and compress whatever it can. BUT this could be very detrimental to your system depending on what filesystem it is.


System maintenance is many things.

Performance montoring of CPUs, memory, paging.

Hardware maintenance, user adds and deletes, watching logfiles for errors and warnings, cleaning up core files and monitoring users' use of space, preventing filesystems from reaching 100% especially /var and /root and /tmp, filesytem maintenance, creating new filesystem space, adding new disks for growth of existing filesystems.

Archival of old data, maintaining a backup schedule, offsite storage of backup tapes, disaster recovery, security for boxes, building security, firewall security, etc...

These are just what I can think of right now.

One very powerful command to help you with logfiles and core files is the "find" command. You can "man find" and read about it. It is a very versatile command with many options.

Hope this helps. UNIX is very broad. It may seem very confining at first, but I know of Admins who, after 15 years are still learing something new about UNIX. I have been doing this for almost 5 years and I learn new things almost daily!

The more you learn, the more you realize how much more you don't know.

Smilie Smilie
# 3  
Old 04-03-2002
thanks a lot. I really appreciate your help

i need to ask one more thing.

see, one of my job is to perform filesystem maintenance. how exactly do I go about doing that. not to say that I am completely new to unix cause am not. I'am the same guy that goes by the name TRUEST.

now, how can file system maintenance be done efficiently.

when talking about log files and core files, what is the specific format to use to get this files and how do I know for sure that these files are not needed.

i really dont mean to stress you but judging from what you said about your job, I feel, you know and is experience in the job am into.

if you could give me some examples of how you go by your daily work. obviously am not asking you to teach me how to do your job. but any example derived from your daily job will be higly appreciated

thanks
# 4  
Old 04-03-2002
you really ought to go by your other name. This site rates you by postings. You already have 40+ posts on the other name.

If you search this site, you should find the answers to alot of questions. Do a keyword search for any of the topics you raised or ones that I raised.

I can't explain it to you in any certain terms. You will have to experience it... Here is a link that may help you.

https://www.unix.com/showthread.php?s...hlight=website

Read the FAQs on this site.

What version of UNIX do you use? Search their website for info.

Learning is half the fun of being an Admin.

Try these searches.

http://www.google.com/search?hl=en&q...=Google+Search

http://www.google.com/search?hl=en&q=unix+tutorials

http://www.isu.edu/departments/comco...unixindex.html

http://unix.about.com/library/misc/blunix101.htm

http://www.geek-girl.com/unix.html

http://www.xs4all.nl/~aiel/unix-links.html

Have Fun!!

Smilie Smilie Smilie
# 5  
Old 03-25-2003
hmm, nice links.. i have been looking for some standard lists of tasks which the SA has to do daily, monthly. and etc.. i went to google.. and search but didnt find any suitable ones.. neither does www.unix.com with

any help?
yls177
# 6  
Old 03-25-2003
you mentioned core files, there are utilities to analyze them when a program dumps core, but from what ive read most people wont find too much use with the actual core file, unless you are a programmer. now, finding out why a programed dumped core is more useful, check the logs of that program and so on. the directory /var/log/ is probably where most of your log files will be kept. you will find your self in that directory everyday, look for anything out of the ordinary...and also use the last command daily just to make sure there are no 'strange' logins.
to yls177, daily things an SA does would be to go through the log files, and just generally making sure everything is working as it should. IMO the great thing about every unix is that once youve configured your box, thats it, if its doing its job now, theres not too much reason for it to stop doing its job later----given that you monitor log files well to watch for any problems, intruders, etc...another thing is to make sure you monitor available space on your system, getting rid of un needed programs and making sure any services that are not in use are turned off.
# 7  
Old 04-04-2003
wow you guys dug up an old post!

I don't know about you guys, but I look at syslog and maillog everyday.

My company has an extensive monitoring package BMC Patrol among other things that we use to monitor our systems' disk usage, daemons and such.

You should perform daily checks to ensure that your disk integrity and filesystem integrity is good.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies

2. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

3. UNIX for Dummies Questions & Answers

System maintenance weekly job and welcome message

Since a few weeks I am playing with debian and now I have 2 questions. The first one: I want to create weekly a file to all user directories. I know that you have a cronjob to schedule it weekly. In this cronjob I have written the following line: df >> /home/%users/diskspace.txt I've... (1 Reply)
Discussion started by: iceqube
1 Replies

4. Solaris

root password for system maintenance (control-d to bypass)

I have message "root password for system maintenance (control-d to bypass)" after Solaris 10 boots up. Why it appears ? thx for help. (3 Replies)
Discussion started by: presul
3 Replies

5. Shell Programming and Scripting

maintenance script

Hi Guys i wonder if anyone can help. i want to create a script that checks multiple servers for disk space availible, cpu usage for past 24 hours. as well as check if all the hardware components are still doing their jobs. i will be doing this in the tcsh, can anyone help? OS = Sun Solaris 5.10... (2 Replies)
Discussion started by: brian112
2 Replies

6. Solaris

svc:/system/filesystem/local is always in maintenance status

Hello Friends, I need to change network filesystem status as online but it always seems in maintenance mode, I appreciate your any suggestion to change its state as online. shell>svcadm enable svc:/system/filesystem/local shell>svcs -l svc:/system/filesystem/local fmri ... (4 Replies)
Discussion started by: EAGL€
4 Replies

7. Solaris

Operation and Maintenance

I gurus of Solaris, I need to do a Procedure concerning in the Maintenance of Solaris Server. What are the parameters that I must be see Periodically in a Server. For example the space I (df -h) must be each week.- In this server exist a Database aplication (Oracle), and log's that increase or... (4 Replies)
Discussion started by: andresguillen
4 Replies

8. UNIX for Dummies Questions & Answers

What are core files and how can I delete them when am performing system maintenance??

Help me How can I go about doing this. also, if you have any idea of other files I can delete and what I can do to improve the performance of a system thats running too slow (6 Replies)
Discussion started by: IMPORTANT
6 Replies

9. Post Here to Contact Site Administrators and Moderators

Board Maintenance

Just a remark now the board has grown to considerable proportion. I see too little of an active hand(s) maintaning the boards, clipping away dead posts, moving posts that were created in the wrong forums etc. It's a bit tiring to see alot of threads ending in: this has been covered before, do a... (7 Replies)
Discussion started by: patvdv
7 Replies

10. UNIX for Dummies Questions & Answers

Quiet System for Maintenance

I have backups that run in a cron @ midnight. Does the backup utility make sure that the system is quiet --(no users are logged on) or do I need to add some stuff to make sure nobody is accessing those file while they are being backed up. (3 Replies)
Discussion started by: michieka
3 Replies
Login or Register to Ask a Question