Size of file /dev/./null 2>&1


 
Thread Tools Search this Thread
Operating Systems AIX Size of file /dev/./null 2>&1
# 8  
Old 08-11-2015
it is a known bug in some versions of AIX. Stop cas_agent service and upgrade your system.

---------- Post updated at 06:11 PM ---------- Previous update was at 06:09 PM ----------

[Tip] /dev filling because of malformed IBM script

---------- Post updated at 06:15 PM ---------- Previous update was at 06:11 PM ----------

and some more links on topic:

IBM IC79612: IBM Systems Director 6.2.1.2 Common Agent on AIX may fill up the root (/) filesystem - United States
https://www-304.ibm.com/support/docv...25792900533a8f
https://www.ibm.com/developerworks/c..._agent?lang=en
These 3 Users Gave Thanks to agent.kgb For This Post:
# 9  
Old 08-12-2015
Thanks agent.kgb
This is it.
I change that script and problem gone.
# 10  
Old 08-12-2015
Quote:
Originally Posted by vbe
looks to me like someone is testing your capabilities...
Yes - as stated by agent.kgb and in the article he linked the "someone" was IBM and their advanced shell-script-writing capabilities. If i remember correctly i even explained there how they made that cunning feat coming to pass in the CAS-installation routine.

bakunin
This User Gave Thanks to bakunin For This Post:
# 11  
Old 08-13-2015
IBM

Yes, a well-known bug. That someone made a typo error is not so much the issue, imho - but the rush by QA.

And this is an OLD bug, 2+ years, maybe even 3+ - so while it was certainly painful for customers - and embarrassing for IBM - there is no reason for anyone to have it on your system(s) today.

This was corrected long ago. - Plan regular update windows - and use them Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Housekeeping null 2>&1 in /dev

Hello, Does anyone know how to housekeeping the null 2>&1 file in /dev? its fill up my system, please help. Thanks :b: (3 Replies)
Discussion started by: only
3 Replies

2. Shell Programming and Scripting

Redirecting standard out to /dev/null goes to file "/dev/null" instead

I apologize if this question has been answered else where or is too elementary. I ran across a KSH script (long unimportant story) that does this: if ; then CAS_SRC_LOG="/var/log/cas_src.log 2>&1" else CAS_SRC_LOG="/dev/null 2>&1" fithen does this: /usr/bin/echo "heartbeat:... (5 Replies)
Discussion started by: jbmorrisonjr
5 Replies

3. UNIX for Dummies Questions & Answers

/dev/null a file using xargs

Hi, I'm currently using the following command to wipe clean a log file which can't be straight out RM'd: cat /dev/null > server.log I'm building this into a script and I'm current working on a command to run on each machine to do this automatically however I have multiple files so I need... (11 Replies)
Discussion started by: Deehem
11 Replies

4. UNIX for Dummies Questions & Answers

/dev/null 2>&1 Versus /dev/null 2>1

How are these two different? They both prevent output and error from being displayed. I don't see the use of the "&" echo "hello" > /dev/null 2>&1 echo "hello" > /dev/null 2>1 (3 Replies)
Discussion started by: glev2005
3 Replies

5. Shell Programming and Scripting

Difference between ">/dev/null 2>&1" and "2>&1 >/dev/null"

Does >/dev/null 2>&1 and 2>&1 >/dev/null mean the same? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

6. Shell Programming and Scripting

Meaning of "> /dev/null 2>&1"

Hi, I am new into UNIX shell scripting and I am wondering what is the meaning of the below text which appears at the end of each line in the ".sh" file: > /dev/null 2>&1 For example, the line below: sh $HOME/stats/Rep777/Act_777.sh omc omc > /dev/null 2>&1 I know for sure what "sh... (10 Replies)
Discussion started by: salanalani
10 Replies

7. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

8. UNIX for Advanced & Expert Users

/dev/NULL can't open this file ??

when i write the following two statements : cp /dev/NULL /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp cat /dev/NULL > /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp its gives me errors like : cp: /dev/NULL: A file or directory in the path name does not exist. cat : /dev/NULL can't open... (2 Replies)
Discussion started by: varungupta
2 Replies

9. UNIX for Dummies Questions & Answers

Creating a file / /dev/null

First of all, hello there cOmMuNity ! :cool: Well, I've got two basic questions: 1) In how many ways it's possible to create a file ? I know one manner using "touch", other typing something like echo "" > file ... The fact is that I need to overwrite the file if it exists, and touch... (8 Replies)
Discussion started by: 435 Gavea
8 Replies

10. UNIX for Dummies Questions & Answers

/dev/null 2>&1 question

Hi, suppose you have the following line at your crontab : 5 * * * * /usr/mine/script > /dev/null 2>&1 now i understood that the " > /dev/null 2>&1 outputs both Standard outpout and Standard Error messages to the /dev/null device or file... the first part , " > /dev/null " transfers... (1 Reply)
Discussion started by: BAM
1 Replies
Login or Register to Ask a Question