- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- yes command with high cpu usage
Operating System - HP-UX
1823113
Members
3288
Online
109646
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
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО06-27-2003 12:17 AM
тАО06-27-2003 12:17 AM
yes command with high cpu usage
Hi, I can see several "yes" commands running and using a lot of cpu. I can't track the program issuing these "yes" commands. In which conditions can a "yes" command load the CPU this much? Could I see the complete command being executed (I guess it's a yes | something )? TIA
It wasn't me
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 12:22 AM
тАО06-27-2003 12:22 AM
Re: yes command with high cpu usage
Hi,
What the hack is a yes command, try trasing it and find who or what is starting this command.
# ps -ef | grep yes
2134 2105 yes
# ps -ef | grep 2134
Hope it helps,
Robert-Jan.
What the hack is a yes command, try trasing it and find who or what is starting this command.
# ps -ef | grep yes
2134 2105 yes
# ps -ef | grep 2134
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 12:41 AM
тАО06-27-2003 12:41 AM
Re: yes command with high cpu usage
The yes command is a command that echo's what ever message you like to the screen. Once started it continues to write to the same tty that issued it. (by default)
# yes "I know what yes does ..."
# ps -ef | grep yes
should find it. If you can find the tty and can stop it with control-C
# yes "I know what yes does ..."
# ps -ef | grep yes
should find it. If you can find the tty and can stop it with control-C
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 12:50 AM
тАО06-27-2003 12:50 AM
Re: yes command with high cpu usage
Hi,TIA
yes, I have tested this command on my machine.
'yes' is a command, output said " y y y " again and again until interrupted by ctrl+C
so you can find who is running the command easily and stop it.
# ps -ef |grep -i yes
Have a good day~~
yes, I have tested this command on my machine.
'yes' is a command, output said " y y y " again and again until interrupted by ctrl+C
so you can find who is running the command easily and stop it.
# ps -ef |grep -i yes
Have a good day~~
Easy going at all.
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP