Jump to content

pjoshi

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

Everything posted by pjoshi

  1. Hi, We have both RedHat and Ubuntu installed on two different PCs. There are users created on both the installations. Now, when I execute top command in RedHat environment it shows multiple instances of same program with different PIDs (eg. soffice.bin). Whereas, when I execute top command in Ubuntu environment it shows only one instance of the program. I would like to know why is it so? Thanks in anticipation. Prasad.
  2. Steve, I have gone through the page throughly and have also tried putting ulimit -u NUM in /etc/profile but nothing is working for me. Let me explain this in detail. On the server I modified the file /etc/security/limits/conf by inserting a line backup hard nproc 100 and also inserted the line ulimit -u 100 in /etc/profile file. After modifying the files I restarted the server. Then I logged in as backup and was able to open more than 100 processes. I don't know what's going wrong. pls help ..... Thanks, Prasad
  3. Thorpe, I did not understand what you meant by grep ps to find the processes. Can you plz elaborate on this. This is very important for me. Prasad
  4. Hi Steve, Any help on this would be greatly appreciated as this is one of the burming issue for me.
  5. Hi, I would like to know if there is any way to kill the user processes (other than root or su processes) that are idle for more the 10 minutes. Any help would be greatly appreciated. Thanks, Prasad
  6. Thanks thorpe it lists all the users. But it also gives some numbers in the list such as 520, 601, 629 etc. Whereas these are not the users. Any idea what are these numbers?
  7. Hi all, How to find the list of users who have opened the similar application (for eg. soffice.bin) Prasad
  8. Hi Steve, I went through the How To posted on http://www.cyberciti.biz/tips/linux-limiting-user-process.html as suggested by you. As mentioned in the post I configured my /etc/security/limits.conf file. There are around 70+ users connected on the server and there were around 2700+ processes opened. I added the line pjoshi hard nproc 5 to the limits.conf file (pjoshi is one of the username connected to the server). Thinking that it would allow pjoshi to open maximum 5 processes. I saved and closed the file and then executed the command : (){ :|:& };: on the prompt. But, to my surprise this resulted in big havoc. All the users were processes were stopped and were disconnected from the server. And even as a administrator I was unable to connect to the server until I restarted it. I want to know what went wrong? Why other users processes got affected when I had added the line to restrict only the processes of the user – pjoshi. Also please guide me how can I achieve this? Please feel free to ask any more questions in case of doubts to solve my problem.
  9. Hi All, Any help on this would be greatly appreciated as this is one of the burming issue for me.
  10. pjoshi

    Top Command

    I executed the command ps -aef, but that ended up in showing all the processes that are running. My query was when I give top command it shows multiple instances of the same application with different PID. So is it utilizing the memory (RAM) only once (as per the size mentioned in the application) or the size gets multiplied by number of time the top command displays the application.
  11. thorpe, can u pls explain it in detail do that I can understand it clearly and solve the problem
  12. Yes I want to share part of the filesystem.
  13. pjoshi

    Top Command

    Hi, top command shows the multiple instances (min 7-8 instances) of the same application with different PID wherein the PS command shows only one instance. I would like to know whether memory (RAM) utilised by the application is only once as shown in 'SIZE' column or multiplied by the number of instances shown in the top command. If this is the case a large volume of memory is getting blocked in this process. How can I overcome this? Thanks in anticipation.
  14. Hi, We have a client-server setup using the RedHat Linux 4.0. We have several other servers one of which is FTP server. Now from one of my client I want to share one of the portion of the FTP server. How can I achieve this? Thanks in anticipation.
  15. Thanks thorpe for the suggestion. But it would be great if you could tell me how to create a lockfile as I'm very new to such concepts. Lets take an example of creating a lockfile for restricting one instance of the following applications. 1) Open Office 3.0 2) Acrobat Reader 5.0 3) Mozilla Firefox Please help
  16. Hi, We have a server and several thin clients attached to this in our Office. The OS is RedHat Linux. Whenever n number of applications/programs are opened on each thin client the performance of the server degrades. Is there any way to restrict the number of programs that can be opened by each client or any other way that I can increase the performance of the server. Pls help
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.