Sponsored Content
Operating Systems Linux Red Hat Logs & Lists to Save before httpd restart when web server freezes? Post 302858881 by djlerman on Tuesday 1st of October 2013 02:38:32 PM
Old 10-01-2013
Unfortunately it's pretty siloed with little to no feedback. Smilie

Just trying to find out a list of information to collect.

All I can do is:
- Collect as much information as possible to help with the trouble shooting process
- restart services so users can access httpd

Thank you for the list.. It is a good place to start.
  • # users connected
  • memory space in-use/free
    cat /proc/meminfo
    free -m
    vmstat
  • disk space free
    df -h
  • last user connected; last program run
  • cron jobs (running???)
  • Current Running Services
    ps -ef
  • summary of current logs
    logwatch --detail High --archives --range
 

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 7 & 9, Iplannet 4.1 and Sun One Web Server 6.1

Hey all, I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following: Current System: Solaris 7 running IPlannet 4.1: Upgrade (Preserving current data) to: Solaris 9 running Sun ONE Web Server 6.1 Has anyone... (0 Replies)
Discussion started by: AJD
0 Replies

2. UNIX for Dummies Questions & Answers

Solaris 7 & 9, Iplannet 4.1 and Sun ONE web server 6.1

Hey all, I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following: Current System: Solaris 7 running IPlannet 4.1: Upgrade (Preserving current data) to: Solaris 9 running Sun ONE Web Server 6.1 Has anyone... (1 Reply)
Discussion started by: AJD
1 Replies

3. Linux

Shared web server resources (CPU&RAM)

Hello, guys ! Long time no seen. I have a question about Linux web servers. I guess it is a more general question, but in my case it is a Linux web server. I want to know how much RAM memory should I put on my servers. Do you have some formula or guidelines on how should I calculate the amount... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

4. Solaris

what is the difference between http & Tomcat web server

I do not know the difference between the apache-http and the apche-Tomcat.Is they are differentiated on their version or on their features.:confused: (2 Replies)
Discussion started by: jayaprakash
2 Replies

5. Web Development

sudo httpd -k restart

hi, why do I need -k in sudo httpd -k restart ? thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

6. Solaris

Oracle Database and HTTPD Web Service

Hi, I have a Solaris 5.6 having an Oracle database.Now this server is being accessed by a web service interface.I cannot see anything other than httpd daemons running on my server. There is a frequent problem of the stopping of these httpd daemons . Now i am asked to find the root case.I talked... (1 Reply)
Discussion started by: asalman.qazi
1 Replies

7. UNIX for Advanced & Expert Users

How to Restart the web server

Hi, Unix AIX, on WebLogic How to Restart the web server Thank you. (2 Replies)
Discussion started by: big123456
2 Replies

8. Red Hat

Comprehensive Disk & Server Logs.

Hello All, I'm using a RHEL6.4 on IBM X3850 X5 server. I want to get a comprehensive report containing disk-wise health status as well as overall server status. I see there's utility "ibm_utl_dsa_dsytd3h-9.51_portable_rhel6_x86-64.bin" which is also used to do diagnostics tasks. I'm not sure of... (1 Reply)
Discussion started by: vaibhavvsk
1 Replies

9. Shell Programming and Scripting

Need Script to ZIP/SAVE & then DELETE Log file & send a mail conformation for any error

ENVIROMENT Linux: RHEL 6.4 Log Path: /usr/iplanet/servers/https-company/logs Log Format: user.log.03-15-2015 I have log4j log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I need a script that will run daily that... (1 Reply)
Discussion started by: admin_job_admin
1 Replies

10. Shell Programming and Scripting

Show Logs from a server location to a web browser

hey Guys, Am a newbie to Linux and have a probable requirement that might come up pretty soon. I need to understand, how log files and log location can be displayed on a web browser. So that the end user can read the log files and should be able to search for order numbers in the logs. If... (2 Replies)
Discussion started by: ashish_samarth
2 Replies
UNCRUSTIFY(1)							   User Commands						     UNCRUSTIFY(1)

NAME
uncrustify - C, C++, C#, D, Java and Pawn source code beautifier SYNOPSIS
uncrustify [OPTIONS] [FILES] DESCRIPTION
If no input files are specified, the input is read from stdin. If reading from stdin, you should specify the language using -l. If -F is used or files are specified on the command line, the output filename is PFX + "/" + filename + SFX. Unless, of course, the options --replace or --no-backup are used. When reading from stdin or doing a single file via the '-f' option, the output is dumped to stdout, unless redirected with -o FILE. Errors are always dumped to stderr OPTIONS
Basic Options: -c CFG Use the config file CFG. If not specified, uncrustify will use $UNCRUSTIFY_CONFIG or $HOME.uncrustify.cfg. -f FILE Process the single file FILE, sending output to stdout or the file specified with -o. -o FILE Redirect output to FILE. Use with -f, --update-config, --update-config-with-doc, --universalindent. -F FILE Read files to process from FILE, one filename per line. You can create this file using something like 'find . -name "*.c" > list.txt'. This cannot be combined with -f. --prefix PFX Prepend PFX to the output filename path. This cannot be combined with -f, --replace, or --no-backup. --suffix SFX Append SFX to the output filename. The default is '.uncrustify' if neither SFX or PFX are specified. This cannot be combined with -f, --replace, or --no-backup. --frag Assume the input is a code fragment and the first line is properly indented. --replace Replace source files (creates a backup). This cannot be combined with -f, --prefix, or --suffix. --no-backup Replace files, no backup. Useful if files are under source control This cannot be combined with -f, --prefix, or --suffix. --mtime Preserve mtime on replaced files. -l Language override: C, CPP, D, CS, JAVA, PAWN, VALA, OC, OC+ -t Load a file with types (usually not needed) -q Quiet mode - no output on stderr (-L will override) Config/Help Options: -h -? --help --usage Print this message and exit --version Print the version and exit --show-config Print out option documentation and exit --update-config Output a new config file. --update-config-with-doc Output a new config file with embedded usage comments. --universalindent Output a config file for Universal Indent GUI. --detect Detects the config from a source file. Use with '-f FILE'. Detection is currently fairly limited. Debug Options: -p FILE Dump debug info to a file -L SEV Set the log severity (see log_levels.h) -s Show the log severity in the logs --decode FLAG Print FLAG as text and exit EXAMPLES
Read a D file from stdin, output to stdout. cat foo.d | uncrustify -q -c my.cfg -l d Process a file, output to stdout. uncrustify -c my.cfg -d foo.d Process a source tree, output to a different tree. find src -name "*.[ch]" > files.txt uncrustify -c my.cfg -F files.txt --prefix out Process a source tree in-place. uncrustify -c my.cfg --no-backup $(find src -name "*.[ch]") NOTES
Use comments containing ' *INDENT-OFF*' and ' *INDENT-ON*' to disable processing of parts of the source file. AUTHOR
Written by Ben Gardner REPORTING BUGS
Use the issue tracker at <http://sourceforge.net/projects/uncrustify> COPYRIGHT
Copyright (C) 2006-2009 Ben Gardner LICENSE
GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. uncrustify 0.59 Oct 2009 UNCRUSTIFY(1)
All times are GMT -4. The time now is 09:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy