Sponsored Content
Full Discussion: Noob trying to improve
Operating Systems OS X (Apple) Noob trying to improve Post 302988591 by RudiC on Thursday 29th of December 2016 04:55:42 AM
Old 12-29-2016
What "looooonnnngggg line"? There should be admittedly somewhat lengthy lines with a title and max. four more fields if you specify four IDS (N fields for N IDS).

EDIT: But - hold on - I see you redirecting print >> "/Users/MyUser/Desktop/test.txt"? If so, you need to redirect the printf RS as well! Or, redirect the entire output of the pipe.

Last edited by RudiC; 12-29-2016 at 06:01 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Can I improve this script ???

Hi all, Still a newbie and learning as I go ... as you do :) Have created this script to report on disc usage and I've just included the ChkSpace function this morning. It's the first time I've read a file (line-by-bloody-line) and would like to know if I can improve this script ? FYI - I... (11 Replies)
Discussion started by: Cameron
11 Replies

2. UNIX for Advanced & Expert Users

improve performance by using ls better than find

Hi , i'm searching for files over many Aix servers with rsh command using this request : find /dir1 -name '*.' -exec ls {} \; and then count them with "wc" but i would improve this search because it's too long and replace directly find with ls command but "ls *. " doesn't work. and... (3 Replies)
Discussion started by: Nicol
3 Replies

3. Shell Programming and Scripting

improve this?

Wrote this script to find the date x days before or after today. Is there any way that this script can be speeded up or otherwise improved? #!/usr/bin/sh check_done() { if then daysofmth=31 elif then if ... (11 Replies)
Discussion started by: blowtorch
11 Replies

4. UNIX for Dummies Questions & Answers

Improve Performance

hi someone tell me which ways i can improve disk I/O and system process performance.kindly refer some commands so i can do it on my test machine.thanks, Mazhar (2 Replies)
Discussion started by: mazhar99
2 Replies

5. Shell Programming and Scripting

Any way to improve performance of this script

I have a data file of 2 gig I need to do all these, but its taking hours, any where i can improve performance, thanks a lot #!/usr/bin/ksh echo TIMESTAMP="$(date +'_%y-%m-%d.%H-%M-%S')" function showHelp { cat << EOF >&2 syntax extreme.sh FILENAME Specify filename to parse EOF... (3 Replies)
Discussion started by: sirababu
3 Replies

6. IP Networking

How to improve throughput?

I have a 10Gbps network link connecting two machines A and B. I want to transfer 20GB data from A to B using TCP. With default setting, I can use 50% bandwidth. How to improve the throughput? Is there any way to make throughput as close to 10Gbps as possible? thanks~ :) (3 Replies)
Discussion started by: andrewust
3 Replies

7. Shell Programming and Scripting

Want to improve the performance of script

Hi All, I have written a script as follows which is taking lot of time in executing/searching only 3500 records taken as input from one file in log file of 12 GB Approximately. Working of script is read the csv file as an input having 2 arguments which are transaction_id,mobile_number and search... (6 Replies)
Discussion started by: poweroflinux
6 Replies

8. AIX

improve sulog

I just wrote a very small script that improves readability on system sulog. The problem with all sulog is there is lack of clarity whether the info you are looking at is the most current. So if you just need a simple soution instead of going thru the trouble of writing a script that rotate logs and... (0 Replies)
Discussion started by: sparcguy
0 Replies

9. Shell Programming and Scripting

How to improve an script?

Gents. I have 2 different scripts for the same purpose: raw2csv_1 Script raw2csv_1 finish the process in less that 1 minute raw2csv_2 Script raw2csv_2 finish the process in more that 6 minutes. Can you please check if there is any option to improve the raw2csv_2. To finish the job... (4 Replies)
Discussion started by: jiam912
4 Replies

10. Shell Programming and Scripting

Improve script

Gents, Is there the possibility to improve this script to be able to have same output information. I did this script, but I believe there is a very short code to get same output here my script awk -F, '{if($10>0 && $10<=15) print $6}' tmp1 | sort -k1n | awk '{a++} END { for (n in a )... (23 Replies)
Discussion started by: jiam912
23 Replies
AUDISP-PRELUDE.CONF:(5) 				  System Administration Utilities				   AUDISP-PRELUDE.CONF:(5)

NAME
audisp-prelude.conf - the audisp-prelude configuration file DESCRIPTION
audisp-prelude.conf is the file that controls the configuration of the audit based intrusion detection system. There are 2 general kinds of configuration option types, enablers and actions. The enablers simply have yes/no as the only valid choices. The action options currently allow ignore, and idmef as its choices. The ignore option means that the IDS still detects events, but only logs the detection in response. The idmef option means that the IDS will send an IDMEF alert to the prelude manager upon detection. The configuration options that are available are as follows: profile This is a one word character string that is used to identify the profile name in the prelude reporting tools. The default is auditd. detect_avc This an enabler that determines if the IDS should be examining SE Linux AVC events. The default is yes. avc_action This is an action that determines what response should be taken whenever a SE Linux AVC is detected. The default is idmef. detect_login This is an enabler that determines if the IDS should be examining login events. The default is yes. login_action This is an action that determines what response should be taken whenever a login event is detected. The default is idmef. detect_login_fail_max This is an enabler that determines if the IDS should be looking for maximum number of failed logins for an account. The default is yes. login_fail_max_action This is an action that determines what response should be taken whenever the maximum number of failed logins for an account is detected. The default is idmef. detect_login_session_max This is an enabler that determines if the IDS should be looking for maximum concurrent sessions limit for an account. The default is yes. login_session_max_action This is an action that determines what response should be taken whenever the maximum concurrent sessions limit for an account is detected. The default is idmef. detect_login_location This is an enabler that determines if the IDS should be looking for logins being attempted from a forbidden location. The default is yes. login_location_action This is an action that determines what response should be taken whenever logins are attempted from a forbidden location. The default is idmef. detect_login_time_alerts This is an enabler that determines if the IDS should be looking for logins attempted during a forbidden time. The default is yes. login_time_action This is an action that determines what response should be taken whenever logins are attempted during a forbidden time. The default is idmef. detect_abend This is an enabler that determines if the IDS should be looking for programs terminating for an abnormal reason. The default is yes. abend_action This is an action that determines what response should be taken whenever programs terminate for an abnormal reason. The default is idmef. detect_promiscuous This is an enabler that determines if the IDS should be looking for promiscuous sockets being opened. The default is yes. promiscuous_action This is an action that determines what response should be taken whenever promiscuous sockets are detected open. The default is idmef. detect_mac_status This is an enabler that determines if the IDS should be detecting changes made to the SE Linux MAC enforcement. The default is yes. mac_status_action This is an action that determines what response should be taken whenever changes are made to the SE Linux MAC enforcement. The default is idmef. detect_group_auth This is an enabler that determines if the IDS should be detecting whenever a user fails in changing their default group. The default is yes. group_auth_act This is an action that determines what response should be taken whenever a user fails in changing their default group. The default is idmef. detect_watched_acct This is an enabler that determines if the IDS should be detecting a user attempting to login on an account that is being watched. The accounts to watch is set by the watched_accounts option. The default is yes. watched_acct_act This is an action that determines what response should be taken whenever a user attempts to login on an account that is being watched. The default is idmef. watched_accounts This option is a whitespace and comma separated list of accounts to watch. The accounts may be numeric or alphanumeric. If you want to include a range of accounts, separate them with a dash but no spaces. For example, to watch logins from bin to lp, use "bin-lp". Only successful logins logins are recorded. detect_watched_syscall This is an enabler that determines if the IDS should be detecting whenever a user runs a command that issues a syscall that is being watched. The default is yes. watched_syscall_act This is an action that determines what response should be taken whenever a user runs a command that issues a syscall that is being watched. The default is idmef. detect_watched_file This is an enabler that determines if the IDS should be detecting whenever a user accesses a file that is being watched. The default is yes. watched_file_act This is an action that determines what response should be taken whenever a user accesses a file that is being watched. The default is idmef. detect_watched_exec This is an enabler that determines if the IDS should be detecting whenever a user executes a program that is being watched. The default is yes. watched_exec_act This is an action that determines what response should be taken whenever a user executes a program that is being watched. The default is idmef. detect_watched_mk_exe This is an enabler that determines if the IDS should be detecting whenever a user creates a file that is executable. The default is yes. watched_mk_exe_act This is an action that determines what response should be taken whenever a user creates a file that is executable. The default is idmef. SEE ALSO
audispd(8), audisp-prelude(8), prelude-manager(1). AUTHOR
Steve Grubb Red Hat Mar 2008 AUDISP-PRELUDE.CONF:(5)
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy