HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: process table scanning
Operating System - Linux
        1839826
        Members
    
    
        2789
        Online
    
    
        110156
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 06:46 AM
02-10-2004 06:46 AM
			
				
					
					
						Would anyone out there happen to have a
script or would know how to capture particular
account processes and log them.
ps -ef gives you the current snapshot of what
is running but how would you capture particular
process in real time to a log file without
have dups entires.
Doing a:
ps -ef|grep -v|grep -i   >>pslog
doesn't give you realtime data.
acctcom does not have the info needed either.  
					
				
			
			
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
script or would know how to capture particular
account processes and log them.
ps -ef gives you the current snapshot of what
is running but how would you capture particular
process in real time to a log file without
have dups entires.
Doing a:
ps -ef|grep -v
doesn't give you realtime data.
acctcom does not have the info needed either.
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 07:04 AM
02-10-2004 07:04 AM
Solution
			
				
					
					
						The /proc filesystem is fun.
That's a realtime peek into kernel process tables disguised as a filesystem.
"man proc" ought to give more information.
so
find /proc/[0-9]* -name cmdline -exec cat {} \;
gives you the name of all running processes as they were launched from the command line.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
That's a realtime peek into kernel process tables disguised as a filesystem.
"man proc" ought to give more information.
so
find /proc/[0-9]* -name cmdline -exec cat {} \;
gives you the name of all running processes as they were launched from the command line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 01:00 AM
02-11-2004 01:00 AM
			
				
					
						
							Re: process table scanning
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						This is strange. Somehow I ended up with
two exact postings of this message with
two different people responding to either
one or the other. ???
Can a moderator out there combine the replies
to one or the other posts?
Thanks Mark, I'll check it out.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
two exact postings of this message with
two different people responding to either
one or the other. ???
Can a moderator out there combine the replies
to one or the other posts?
Thanks Mark, I'll check it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 04:58 AM
02-11-2004 04:58 AM
			
				
					
						
							Re: process table scanning
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						This is the wrong forum. I will re-post this
message to the HP forum.
		
		
	
	
	
message to the HP forum.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
