PS command - TIME column is 00:00:00


 
Thread Tools Search this Thread
Operating Systems AIX PS command - TIME column is 00:00:00
# 1  
Old 05-05-2013
PS command - TIME column is 00:00:00

Hi,
I am running the following command:

Code:
ps -efk -o "user pid ppid pcpu pmem stime time vsz rssize args"

But TIME column is always 00:00:00 . The AIX Actual version is 6.1.8.0
When I run it on another server that I have with version 6.1.0.0, the output is valid.


Regards,
Amit
# 2  
Old 05-05-2013
Then it would be a bug do you not think? Have you patched to the latest 6.1.8.0 level (in other words, what does oslevel -s say?)
# 3  
Old 05-06-2013
On the server where I have the issues:

Code:
Fileset                                 Actual Level        Maintenance Level
-----------------------------------------------------------------------------
bos.rte                                 6.1.8.0             6.1.0.0

On the server where it is working fine:

6.1.0.0


Moderator's Comments:
Mod Comment edit by bakunin: please use CODE-tags also for file contents, output, etc.. Thanks.

Last edited by bakunin; 05-06-2013 at 09:35 AM..
# 4  
Old 05-06-2013
oslevel -q -s | head -5 output please.

Other useful examples for the kind of output I am looking for:
Code:
michael@x054:[/home/michael]lslpp -w /usr/bin/ps
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/bin/ps                                 bos.rte.control       File
michael@x054:[/home/michael]lslpp -L bos.rte.control
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  bos.rte.control           6.1.7.18    C     F    System Control Commands

# 5  
Old 05-06-2013
Issue doesn't exist after installing SP2

I checked the command on another server that has AIX 6.1.8.15 installed.
The issue doesn't exist there.

The output that you asked for:

Code:
brclqa8@dallas:/home2/brclqa8 > oslevel -q -s | head -5
Known Service Packs
-------------------
6100-08-01-1245
6100-08-00-0000
6100-07-06-1241
6100-07-05-1228
6100-07-04-1216

Moderator's Comments:
Mod Comment edit by bakunin: please use CODE-tags! We really mean it!

Last edited by bakunin; 05-06-2013 at 09:36 AM..
# 6  
Old 05-06-2013
Then of course what would be interesting is what is the output of the command on the server that is working(as oppessed to telling us that some fileset is at 6.1.8.15 - these numbers differ with each fileset!)

But, without further ado I suggest you go to Fixcentral and download the "latest" (was released in February!) service pack Fixpack: 6100-08-02-1316 details and perform the command

Code:
# smitty update_all


Last edited by MichaelFelt; 05-06-2013 at 04:27 PM..
# 7  
Old 05-07-2013
Output from Server with SP2

Code:
cmbld@atlanta [/home2/cmbld] $ oslevel -q -s | head -5
Known Service Packs
-------------------
6100-08-02-1316
6100-08-01-1245
6100-08-00-0000
6100-07-06-1241
6100-07-05-1228

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calculate Average time of one column

Hello dears, I have a log file with records like below and want to get a average of one column based on the search of one specific keyword. 2015-02-07 08:15:28 10.102.51.100 10.112.55.101 "kevin.c" POST ... (2 Replies)
Discussion started by: Newman
2 Replies

2. Programming

Find gaps in time data and replace missing time value and column 2 value by interpolation in awk

Dear all, I am kindly seeking assistance on the following issue. I am working with data that is sampled every 0.05 hours (that is 3 minutes intervals) here is a sample data from the file 5.00000 15.5030 5.05000 15.6680 5.10000 16.0100 5.15000 16.3450 5.20000 16.7120 5.25000... (4 Replies)
Discussion started by: malandisa
4 Replies

3. Shell Programming and Scripting

Finding max of a column grouping by the time

Hi, I have the below text: 16:00 0.50 16:00 0.30 16:00 0.00 16:00 0.00 16:00 0.30 16:01 0.00 16:01 0.30 I want to find the max of the 2nd column grouping by the values in the 1st column using awk. So 16:00 0.50 16:01 0.30 I have tried (3 Replies)
Discussion started by: satishrao
3 Replies

4. Shell Programming and Scripting

Remove the time from the date column

Hi, I have file named file1.txt with below contents cat file1.txt 1/29/2014 0:00,706886 1/30/2014 0:00,791265 1/31/2014 0:00,987087 2/1/2014 0:00,1098572 2/2/2014 0:00,572477 2/3/2014 0:00,701715 I want to display as below 1/29/2014,706886 1/30/2014,791265 1/31/2014,987087... (5 Replies)
Discussion started by: villain41
5 Replies

5. Shell Programming and Scripting

Diff between two time in hours in last column

Dear All I want to diff between two time(FIRST 4 COLUMN) in hours in last column. Kindly help me for same. 2013-11-23 15:51:23 2013-11-23 12:20:06 BRC023 CG 2013-11-23 15:51:23 2013-11-23 12:20:08 BRC064CG 2013-11-23 15:51:23 2013-11-22 13:17:49 BLM003 NG 2013-11-23 15:51:23 2013-11-22... (9 Replies)
Discussion started by: jaydeep_sadaria
9 Replies

6. UNIX for Dummies Questions & Answers

Sort command in one column and not effect to another column

If my data is numerical : 1 = 101 2 = 102 3 = 104 4 = 104 7 = 103 8 = 103 9 = 105 I need the result like below: 1 = 101 2 = 102 3 = 103 4 = 103 7 = 104 8 = 104 9 = 105 (4 Replies)
Discussion started by: GeodusT
4 Replies

7. Shell Programming and Scripting

awk command to print only selected rows in a particular column specified by column name

Dear All, I have a data file input.csv like below. (Only five column shown here for example.) Data1,StepNo,Data2,Data3,Data4 2,1,3,4,5 3,1,5,6,7 3,2,4,5,6 5,3,5,5,6 From this I want the below output Data1,StepNo,Data2,Data3,Data4 2,1,3,4,5 3,1,5,6,7 where the second column... (4 Replies)
Discussion started by: ks_reddy
4 Replies

8. Shell Programming and Scripting

command for converting 4 column data to 1 column

dear friends I want to convert four column data to one column data. For example: from 1, 2, 3, 4 5, 6, 7, 8to 1 2 3 4 5 6 7 8what is the general command for that type of convertion. thanks (5 Replies)
Discussion started by: rpf
5 Replies

9. Shell Programming and Scripting

Question about sort specific column and print other column at the same time !

Hi, This is my input file: ali 5 usa abc abu 4 uk bca alan 6 brazil bac pinky 10 utah sdc My desired output: pinky 10 utah sdc alan 6 brazil bac ali 5 usa abc abu 4 uk bca Based on the column two, I want to do the descending order and print out other related column at the... (3 Replies)
Discussion started by: patrick87
3 Replies

10. UNIX for Dummies Questions & Answers

Differences between time command and usr/bin/time

I wondered if someone could point out the differences between the time commmand and usr/bin/time and the accuracy one might have over another. Also, is there a website or two a person could maybe link for me to describe the differences? Thank you for your time. (2 Replies)
Discussion started by: icedrake
2 Replies
Login or Register to Ask a Question