Monitoring The Ram Usage of Remote Processes, Tips and Tricks

August 18, 2020

Any IT administration nowadays has a robust plan on how to monitor their networks, but remote process monitoring is kind of a tricky subject in itself. Because normal sensors of monitoring software might not have the reach to go through the different infrastructure that the company uses to reach it's remote offices or subsidiaries. We will look at why remote process monitoring should be done by your own IT staff at home and how to do that in aspect of monitoring ram usage of different processes that are not located in your regional office but are placed somewhere remote. Then we will give you some tips on how to achieve that and lastly will give you our picks about the best tools that you can use to do such thing.

monitor ram usage banner

Remote Process Monitoring, Why You Should Do It?

Most of the time with many companies, monitoring ram usage and other things of remote regional offices is not done by the main staff. These remote offices might range from one single office in a remote location, or just one guy that is stationed in another company and has to work there for a while. But how we approach the question of network monitoring here is a big debate among different IT experts. Some say that the security and stability of a remote host should be decentralized, meaning each different regional office or remote location should have it's own IT and Security teams stationed at the remote office so they can monitor ram usage and other things themselves while they are there. Others argue although that might be a good idea for big companies, many smaller sized companies can't afford to hire an IT administrator for every regional office they might have, because most of these companies have 3 to fewer staffs located at other company sites that need to operate there either out of necessity or as part of an agreement made between their two companies. To have a separate IT team for these kinds of companies would only mean much more expenses than before. Nowadays even many companies choose to outsource their IT personnel to other regions in the world like India where you can get good IT support for cheap. But as with every other delicate matter we have to side with one of these approaches and we think although having a separate IT staff stationed at different offices might seem a good idea at first but having set up a good infrastructure for a centralized operation might pay off in the big run. And with that you will need to have a good monitoring system set up to meet your needs and the needs of your staff. But how can we achieve that?

Remotely Monitor Ram Usage, Is It Really Necessary?

Why should you monitor the ram usage you might ask? Isn't ram one of those subjects that don't need to be monitored that often? Well yes and no. First of all all your processes need ram to run and if you somehow run out of ram there is no way that you can start new processes or even give some ram to those who need it. And because of that most of the IT staff when they are designing the network forsee how much RAM will be needed by each server and add another 20 to 30 percent to that so you won't need to actively manage the ram usage on your servers. That said with time passing and new and improved versions of software coming into market, the demand for more RAM has to be met and for doing that you either have to add more RAM to your servers, which your financial team might not approve, or you can start managing and monitoring the amount of RAM that you already have available.

remote monitor necessary?

Remotely Monitoring Ram Usage Tips and Tricks

First of all if you have a good setup in your company's infrastructure you can of course monitor your remote processes and therefore you can see how much ram each server is using and act accordingly. But if you are in one of those companies that don't want to invest in infrastructure until it's too late and something has gone wrong, well you better look for another company to work for. Jokes aside there are some ways that you can monitor ram usage on your remote devices and here are some of them:

1.Powershell to the rescue:

first thing is that you can use power shell to get the information you need like cpu and ram usage of a process running on a remote location, just connect via ssh and type in:

Get-Counter '\Memory\Available MBytes' -ComputerName COMPUTERNAME.DOMAIN -Continuous -SampleInterval 10

rdp is not a good choice

2.Just Remotely Connect to a host

you can remotely connect to your host and use the windows RDP to do that after that you can use conventional methods like using the task manager to get an overview of your system. If you have more than 3 remotely located systems it might pay off to run a monitoring software on one of them and use that one to monitor all the processes in the remote network, although you should be really careful using RDP because it has a lot of different exploits.

3.Use tools Like RAM MAP to monitor ram usage

"Have you ever wondered exactly how Windows is assigning physical memory, how much file data is cached in RAM, or how much RAM is used by the kernel and device drivers? RAMMap makes answering those questions easy." this is from the official Microsoft docs of RAMMap a tool designed especially for monitoring memory usage in detail. You might need some specific details while monitoring ram usage because your boss has asked you to and you can get all of the details you need. You can install this neat tool and use one of the latter ways to connect to the remote computer and see what's going on with the tool.

Conclusion

Although monitoring processes has become fairly easy in the last decade with the boom of different pieces of software that have become available, doing things the old fashioned way might be more your alley as with remote processes they might not come to you rescue. Because they are designed to work within a scope of a LAN or a WAN and your remote locations sometimes are not part of the WAN and don't have direct tunnels that you can use to make these kinds of monitoring software work. Well I hope now you know more on how to monitor ram usage on remote networks and have found this article helpful.