Hi ,
I am running a C/C++ program on a solaris 5.8 machine. This parituclar application has a module which saves data to a file. The module uses fwrite() function to save data.
The fwrite function write about 500 MB of data to a file. The problem which I am facing is, the memory consumtion... (2 Replies)
Dear all,
When I write the daemon programs it is consuming high memory and processor time. How can I avoid this?
But, the system daemons are not consuming more. How?
Can any one explain how the system daemons are handling the memory consumption and processor time.
Thanks,... (1 Reply)
HI All,
Can anyone send me a command to find TOP 5 Memory consuming process.
It would be lelpful if I get output something like below
processname - pid - memory(in MB) - command
I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Hi all,
We have a server having much processes running. It is very difficuilt to trace the exact consuming more memory. Howerver, it shows CPU usage in sequence but how memory?
Tried working with TOP command.
Please let me know if something not clear.
Thanks,
Deepak (5 Replies)
Hi All
what is the command to check process ids , which are running from long time and which are consuming more cpu?
Also how to check, what a particular PID is running what
For Ex:
i have a pid :3223722 which is running since from long time,
if i want to check what is this... (1 Reply)
When I run 'top' command,I see the following
Memory: 32G real, 12G free, 96G swap free
Though it shows as 12G free,I am not able to account for processes that consume the rest 20G.
In my understanding some process should be consuming atleast 15-16 G but I am not able to find them.
Is... (1 Reply)
Hello
There are options / commands to check which process is consuming maximum memory
However is there any command/mechanism which will tell us which process was consuming maximum memory in specific time interval in the past?
I heard nmon report can help in this regard.
is there any... (5 Replies)
Platform: Oracle Linux 6.4
To find the most memory consuming processes, I tried the following 2 methods
1. Method1
# ps aux | head -1 ; ps aux | sort -nk +4 | tail -7
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 95 0.0 0.0 0 0 ? ... (2 Replies)
I am middle of writing health check scripts, can you pls share commands on how I can get cpu and Mem of top consuming process info at the moment?
Also can u suggest ideas on what all I can look for as a part do health check on red hat Linux server?
I searched on site before posting, but... (2 Replies)
Discussion started by: Varja
2 Replies
LEARN ABOUT LINUX
snmpa_network_interface
snmpa_network_interface(3erl) Erlang Module Definition snmpa_network_interface(3erl)NAME
snmpa_network_interface - Behaviour module for the SNMP agent network interface.
DESCRIPTION
This module defines the behaviour of the agent network interface. A snmpa_network_interface compliant module must export the following
functions:
* start_link/4
* info/1
* get_log_type/1
* set_log_type/2
* verbosity/2
The semantics of them and their exact signatures are explained below.
But this is not enough. There is also a set of mandatory messages which the network interface entity must be able to receive and be able to
send. This is described in chapter snmp_agent_netif .
EXPORTS
start_link(Prio, NoteStore, MasterAgent, Opts) -> {ok, Pid} | {error, Reason}
Types Prio = priority()
NoteStore = pid()
MasterAgent = pid()
Opts = [opt()]
opt() = {verbosity, verbosity()} | {versions, versions()} | term()
versions() = [version()]
version() = v1 | v2 | v3
Start-link the network interface process.
NoteStore is the pid of the note-store process and MasterAgent is the pid of the master-agent process.
Opts is an (basically) implementation dependent list of options to the network interface process. There are however a number of
options which must be handled: versions and verbosity .
info(Pid) -> [{Key, Value}]
Types Pid = pid()
The info returned is basically up to the implementer to decide. This implementation provided by the application provides info about
memory allocation and various socket information.
The info returned by this function is returned together with other info collected by the agent when the info function is called
(tagged with with the key net_if ).
verbosity(Pid, Verbosity) -> void()
Types Pid = pid()
Verbosity = verbosity()
Change the verbosity of a running network interface process.
get_log_type(Pid) -> {ok, LogType} | {error, Reason}
Types Pid = pid()
LogType = atl_type()
Reason = term()
The Audit Trail Log is managed by the network interface process. So, it is this process that has to retrieve the actual log-type.
set_log_type(Pid, NewType) -> {ok, OldType} | {error, Reason}
Types Pid = pid()
NewType = OldType = atl_type()
Reason = term()
The Audit Trail Log is managed by the network interface process. So, it is this process that has to do the actual changing of the
type.
See set_log_type for more info.
Ericsson AB snmp 4.19 snmpa_network_interface(3erl)