Sponsored Content
Top Forums Shell Programming and Scripting [Solved] Isolating & Counting IP from log file Post 302888604 by Lord Spectre on Saturday 15th of February 2014 05:33:07 PM
Old 02-15-2014
Thanks again, and if I can ask, is it possibile to ordering from bigger to lowest?
Is not properly necessary, but will help me a lot!! Smilie
 

10 More Discussions You Might Find Interesting

1. IP Networking

Unix Scripts & Counting TCP Connections

Here's a question I received on a test recently. I'm new to Linux/Unix so if this is easy, don't kill me. What scripting or tools could you use to count and sort the number of connections from each internal host? I'd appreciate any feedback and resources. "The Cisco PIX firewall provides... (5 Replies)
Discussion started by: daveohr
5 Replies

2. UNIX for Dummies Questions & Answers

syntax for counting & printing record count

Hi I have a complex script which outputs a text file for loading into a db. I now need to enhance this script do that I can issue an ‘lp' command to show the count of the number of records in this file. Can anybody give me the necessary syntax ? (2 Replies)
Discussion started by: malts18
2 Replies

3. Shell Programming and Scripting

Help with awk array syntax & counting script

..... (3 Replies)
Discussion started by: elbee11
3 Replies

4. Shell Programming and Scripting

[Solved] Counting specific characters within each field

Hello, I have a file like following: ALB_13554 1 1 1 ALB_13554 1 2 1 ALB_18544 2 0 2 ALB_18544 1 0 1 This is a sample of my file, my real file has 441845 number of fields. What I want to do is to calculate the number of 1 and 2 in each column using AWK, so, the output file looks like... (5 Replies)
Discussion started by: Homa
5 Replies

5. UNIX for Dummies Questions & Answers

[solved] Where & what bash env file, Mac OS?

Hi! I wanted to simplify my bash prompt, so I edited my etc/bashrc file. I thought this was the file that would override any other env files. When I opened it, I saw that the way it was setup was not what my prompt looked like, although I forget exactly what was there. But i edited it the way I... (1 Reply)
Discussion started by: sudon't
1 Replies

6. Shell Programming and Scripting

[Solved] BASH - chaining TEST and COMMAND with && and II

Can you explain what this line of script is doing. What I have understood is : -- variable C is the name of a software which is either not installed, so it must be installed or allready installed and then should be update if newer version found -- branch B="$B $C" is to install the software --... (4 Replies)
Discussion started by: jcdole
4 Replies

7. Red Hat

Need Script to ZIP/SAVE & then DELETE Log file & DELETE ZIPS older than 12 months

ENVIROMENT Linux: Fedora Core release 1 (Yarrow) iPlanet: iPlanet-WebServer-Enterprise/6.0SP1 Log Path: /usr/iplanet/servers/https-company/logs I have iPlanet log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I... (7 Replies)
Discussion started by: zachs
7 Replies

8. Shell Programming and Scripting

[Solved] Counting The Number of Lines Between Values with Multiple Variables

Hey everyone, I have a bunch of lines with values in field 4 that I am interested in. If these values are between 1 and 3 I want it to count all these values to all be counted together and then have the computer print out LOW and the number of lines with those values in between 1 and 3,... (2 Replies)
Discussion started by: VagabondGold
2 Replies

9. Shell Programming and Scripting

[Solved] Error in script while counting processes

Hi all, Below is a script I'm writing and giving me error: #!/usr/bin/sh if ; then echo "Success!" else echo "Failure!" fi Normally if I do ps -ef|grep dw.sap|wc -l it gives me output of 18. So my script checks if it's greater than 17 it echoes success else failure ... (5 Replies)
Discussion started by: frum
5 Replies

10. 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
OPENWALNUT(1)							   User Commands						     OPENWALNUT(1)

NAME
openwalnut - This is a warpper script which currently calls openwalnut-qt. Later, this will allow you to use nogui versions or GUIs spe- cialized for certain use-cases. SYNOPSIS
openwalnut [OPTION]... [FILE]... DESCRIPTION
OpenWalnut is a highly expansible visualization system with focus on brain- and neurological data. Options:: -h [ --help ] Prints this help message -v [ --version ] Prints the version information -l [ --log ] arg The log-file to use. If not specified, "openwalnut.log" is used in the current directory. -p [ --project ] arg Project file to be loaded on startup. -i [ --input ] arg Input data files that should be loaded automatically EXAMPLES
openwalnut Startup OpenWalnut. openwalnut -p myproject.owp Start OpenWalnut and load the project. openwalnut t1.nii.gz fibers.fib Start OpenWalnut and load the two datasets. AUTHOR
Written by the OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS. COPYRIGHT
Copyright 2009-2010 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS For more information see http://www.openwalnut.org/copying This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under the terms of the GNU Lesser General Public License. You should have received a copy of the GNU Lesser General Public License along with OpenWalnut. If not, see <http://www.gnu.org/licenses/>. SEE ALSO
The full documentation for OpenWalnut is maintained online. Check our website for more information and help: http://www.openwalnut.org OpenWalnut ( http://www.openwalnut.org ) June 2011 OPENWALNUT(1)
All times are GMT -4. The time now is 06:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy