Hi Experts,
I am executing multiple instances(in parallel) of perl script on HP-UX box.
OS is allocating substantial amount of CPU to these perl processes,resulting higher cpu utilization.
Glance always shows perl processes are occupying majority of the CPU resource.
I recently learned that I can use top with my keyboard to kill processes (k), show processes for a specific user only (u), etc. But I was wondering if there is a way of selecting processes from the menu without having to manually type their PID (e.g. using C-n and C-p to navigate the list would be ideal)
If top does not let me do this, are there any tools that can help with this task?
I'm trying to find a way to safely shutdown a network interface, i.e. without disturbing any processes. For this I need to find out what processes are currently using that interface. Tools like ss, netstat or lsof are helpful showing which processes have open sockets, but they don't show wpa_supplicant, dhcpcd, hostapd and others.
Is there a way to detect these processes in a general way?
We've been facing an issue in a scenario where, at certain times of the day, several processes where spawn in parallel, each one performing an HTTP POST to an ASP.NET 4.0 application under IIS 7.5 on Win 2008 R2. The more parallel processes we launch, the more each one of them was experiencing a very slow response time, in some cases up to 15 seconds to post 40 bytes.
At first glance, my question might look bit trivial. Please bear with me and read completely.
I have identified a busy loop in my Linux kernel module. Due to this, other processes (e.g. sshd) are not getting CPU time for long spans of time (like 20 seconds).
Hi,
curenntly I try to write a script which would kill processes of users who are not logged in.
My approach is to find out what users are logged in and then kill processes of all nonsystem users who fail the test of being logged.
I use `w` for finding all logged in users, but apparently there are users on the list which `w` gives me who own absolutely no process in the output of `ps aux`.
Som
Hi,
I have a file which has some 50 hosts, I want to login to each host using ssh and execute any command. I am using fork function in perl. I am able to login to each host and execute the command in the hosts paralelly, but it spawing/forking 50 processes at a time.
It will consume the cpu utilization if so many processes open at a time.
Hi Everyone,
I am a bit new at learning this bash syntax. I have a problem at work that needs to be addressed. We find we are spending quite a bit of time killing old processes created by oracle replication that have been restarted later in the week.
When I run top -bi, where the parameter -i means "ignore idle processes", the resulted list(see below) of processes are either R or D, although there're S processes at that time.
So, why uninterruptible sleep is not counted as "idle"?