add ipc semaphores charts info (#11523)
Co-authored-by: Vladimir Kobal <vlad@prokk.net>
Ilya Mashchenko committed
Sep 17, 2021 at 17:42 UTC
e7cd69dba035d6dcc36bbf36739081114c425336
1 file changed
+54
-1
web/gui/dashboard_info.js
+54
-1
@@ -849,7 +849,31 @@ netdataDashboard.submenu = {
849
'apps.net': {
850
title: 'network',
851
info: 'Netdata also gives a summary for eBPF charts in <a href="#menu_ip_submenu_kernel">Networking Stack submenu</a>.'
852
- }
852
+ },
853
+
854
+ 'system.ipc semaphores': {
855
+ info: 'System V semaphores is an inter-process communication (IPC) mechanism. '+
856
+ 'It allows processes or threads within a process to synchronize their actions. '+
857
+ 'They are often used to monitor and control the availability of system resources such as shared memory segments. ' +
858
+ 'For details, see <a href="https://man7.org/linux/man-pages/man7/svipc.7.html" target="_blank">svipc(7)</a>. ' +
859
+ 'To see the host IPC semaphore information, run <code>ipcs -us</code>. For limits, run <code>ipcs -ls</code>.'
860
+ },
861
+
862
+ 'system.ipc shared memory': {
863
+ info: 'System V shared memory is an inter-process communication (IPC) mechanism. '+
864
+ 'It allows processes to communicate information by sharing a region of memory. '+
865
+ 'It is the fastest form of inter-process communication available since no kernel involvement occurs when data is passed between the processes (no copying). '+
866
+ 'Typically, processes must synchronize their access to a shared memory object, using, for example, POSIX semaphores. '+
867
+ 'For details, see <a href="https://man7.org/linux/man-pages/man7/svipc.7.html" target="_blank">svipc(7)</a>. '+
868
+ 'To see the host IPC shared memory information, run <code>ipcs -um</code>. For limits, run <code>ipcs -lm</code>.'
869
+ },
870
+
871
+ 'system.ipc message queues': {
872
+ info: 'System V message queues is an inter-process communication (IPC) mechanism. '+
873
+ 'It allow processes to exchange data in the form of messages. '+
874
+ 'For details, see <a href="https://man7.org/linux/man-pages/man7/svipc.7.html" target="_blank">svipc(7)</a>. ' +
875
+ 'To see the host IPC messages information, run <code>ipcs -uq</code>. For limits, run <code>ipcs -lq</code>.'
876
+ },
877
};
878
879
@@ -1015,6 +1039,35 @@ netdataDashboard.context = {
1039
info: 'System swap memory usage. Swap space is used when the amount of physical memory (RAM) is full. When the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space (usually a disk, a disk partition or a file).'
1040
},
1041
1042
+ 'system.ipc_semaphores': {
1043
+ info: 'Number of allocated System V IPC semaphores. '+
1044
+ 'The system-wide limit on the number of semaphores in all semaphore sets is specified in <code>/proc/sys/kernel/sem</code> file (2nd field).'
1045
+ },
1046
+
1047
+ 'system.ipc_semaphore_arrays': {
1048
+ info: 'Number of used System V IPC semaphore arrays (sets). Semaphores support semaphore sets where each one is a counting semaphore. '+
1049
+ 'So when an application requests semaphores, the kernel releases them in sets. '+
1050
+ 'The system-wide limit on the maximum number of semaphore sets is specified in <code>/proc/sys/kernel/sem</code> file (4th field).'
1051
+ },
1052
+
1053
+ 'system.shared_memory_segments': {
1054
+ info: 'Number of allocated System V IPC memory segments. '+
1055
+ 'The system-wide maximum number of shared memory segments that can be created is specified in <code>/proc/sys/kernel/shmmni</code> file.'
1056
+ },
1057
+
1058
+ 'system.shared_memory_bytes': {
1059
+ info: 'Amount of memory currently used by System V IPC memory segments. '+
1060
+ 'The run-time limit on the maximum shared memory segment size that can be created is specified in <code>/proc/sys/kernel/shmmax</code> file.'
1061
+ },
1062
+
1063
+ 'system.message_queue_messages': {
1064
+ info: 'Number of messages that are currently present in System V IPC message queues.'
1065
+ },
1066
+
1067
+ 'system.message_queue_bytes': {
1068
+ info: 'Amount of memory currently used by messages in System V IPC message queues.'
1069
+ },
1070
+
1071
// ------------------------------------------------------------------------
1072
// CPU charts
1073