Copyright | Copyright (C) 2015-2021 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
< Linux state monitoring. >
Synopsis
- data MsgLinuxCpuStateDepA = MsgLinuxCpuStateDepA {}
- data MsgLinuxMemStateDepA = MsgLinuxMemStateDepA {}
- data MsgLinuxSysStateDepA = MsgLinuxSysStateDepA {}
- data MsgLinuxProcessSocketCounts = MsgLinuxProcessSocketCounts {}
- data MsgLinuxProcessSocketQueues = MsgLinuxProcessSocketQueues {
- _msgLinuxProcessSocketQueues_index :: !Word8
- _msgLinuxProcessSocketQueues_pid :: !Word16
- _msgLinuxProcessSocketQueues_recv_queued :: !Word16
- _msgLinuxProcessSocketQueues_send_queued :: !Word16
- _msgLinuxProcessSocketQueues_socket_types :: !Word16
- _msgLinuxProcessSocketQueues_socket_states :: !Word16
- _msgLinuxProcessSocketQueues_address_of_largest :: !Text
- _msgLinuxProcessSocketQueues_cmdline :: !Text
- data MsgLinuxSocketUsage = MsgLinuxSocketUsage {}
- data MsgLinuxProcessFdCount = MsgLinuxProcessFdCount {}
- data MsgLinuxProcessFdSummary = MsgLinuxProcessFdSummary {}
- data MsgLinuxCpuState = MsgLinuxCpuState {}
- data MsgLinuxMemState = MsgLinuxMemState {}
- data MsgLinuxSysState = MsgLinuxSysState {}
- msgLinuxCpuStateDepA :: Word16
- msgLinuxMemStateDepA :: Word16
- msgLinuxSysStateDepA :: Word16
- msgLinuxProcessSocketCounts :: Word16
- msgLinuxProcessSocketQueues :: Word16
- msgLinuxSocketUsage :: Word16
- msgLinuxProcessFdCount :: Word16
- msgLinuxProcessFdSummary :: Word16
- msgLinuxCpuState :: Word16
- msgLinuxMemState :: Word16
- msgLinuxSysState :: Word16
- msgLinuxCpuStateDepA_cmdline :: Lens' MsgLinuxCpuStateDepA Text
- msgLinuxCpuStateDepA_index :: Lens' MsgLinuxCpuStateDepA Word8
- msgLinuxCpuStateDepA_pcpu :: Lens' MsgLinuxCpuStateDepA Word8
- msgLinuxCpuStateDepA_pid :: Lens' MsgLinuxCpuStateDepA Word16
- msgLinuxCpuStateDepA_tname :: Lens' MsgLinuxCpuStateDepA Text
- msgLinuxMemStateDepA_cmdline :: Lens' MsgLinuxMemStateDepA Text
- msgLinuxMemStateDepA_index :: Lens' MsgLinuxMemStateDepA Word8
- msgLinuxMemStateDepA_pid :: Lens' MsgLinuxMemStateDepA Word16
- msgLinuxMemStateDepA_pmem :: Lens' MsgLinuxMemStateDepA Word8
- msgLinuxMemStateDepA_tname :: Lens' MsgLinuxMemStateDepA Text
- msgLinuxSysStateDepA_mem_total :: Lens' MsgLinuxSysStateDepA Word16
- msgLinuxSysStateDepA_pcpu :: Lens' MsgLinuxSysStateDepA Word8
- msgLinuxSysStateDepA_pid_count :: Lens' MsgLinuxSysStateDepA Word16
- msgLinuxSysStateDepA_pmem :: Lens' MsgLinuxSysStateDepA Word8
- msgLinuxSysStateDepA_procs_starting :: Lens' MsgLinuxSysStateDepA Word16
- msgLinuxSysStateDepA_procs_stopping :: Lens' MsgLinuxSysStateDepA Word16
- msgLinuxProcessSocketCounts_cmdline :: Lens' MsgLinuxProcessSocketCounts Text
- msgLinuxProcessSocketCounts_index :: Lens' MsgLinuxProcessSocketCounts Word8
- msgLinuxProcessSocketCounts_pid :: Lens' MsgLinuxProcessSocketCounts Word16
- msgLinuxProcessSocketCounts_socket_count :: Lens' MsgLinuxProcessSocketCounts Word16
- msgLinuxProcessSocketCounts_socket_states :: Lens' MsgLinuxProcessSocketCounts Word16
- msgLinuxProcessSocketCounts_socket_types :: Lens' MsgLinuxProcessSocketCounts Word16
- msgLinuxProcessSocketQueues_address_of_largest :: Lens' MsgLinuxProcessSocketQueues Text
- msgLinuxProcessSocketQueues_cmdline :: Lens' MsgLinuxProcessSocketQueues Text
- msgLinuxProcessSocketQueues_index :: Lens' MsgLinuxProcessSocketQueues Word8
- msgLinuxProcessSocketQueues_pid :: Lens' MsgLinuxProcessSocketQueues Word16
- msgLinuxProcessSocketQueues_recv_queued :: Lens' MsgLinuxProcessSocketQueues Word16
- msgLinuxProcessSocketQueues_send_queued :: Lens' MsgLinuxProcessSocketQueues Word16
- msgLinuxProcessSocketQueues_socket_states :: Lens' MsgLinuxProcessSocketQueues Word16
- msgLinuxProcessSocketQueues_socket_types :: Lens' MsgLinuxProcessSocketQueues Word16
- msgLinuxSocketUsage_avg_queue_depth :: Lens' MsgLinuxSocketUsage Word32
- msgLinuxSocketUsage_max_queue_depth :: Lens' MsgLinuxSocketUsage Word32
- msgLinuxSocketUsage_socket_state_counts :: Lens' MsgLinuxSocketUsage [Word16]
- msgLinuxSocketUsage_socket_type_counts :: Lens' MsgLinuxSocketUsage [Word16]
- msgLinuxProcessFdCount_cmdline :: Lens' MsgLinuxProcessFdCount Text
- msgLinuxProcessFdCount_fd_count :: Lens' MsgLinuxProcessFdCount Word16
- msgLinuxProcessFdCount_index :: Lens' MsgLinuxProcessFdCount Word8
- msgLinuxProcessFdCount_pid :: Lens' MsgLinuxProcessFdCount Word16
- msgLinuxProcessFdSummary_most_opened :: Lens' MsgLinuxProcessFdSummary Text
- msgLinuxProcessFdSummary_sys_fd_count :: Lens' MsgLinuxProcessFdSummary Word32
- msgLinuxCpuState_cmdline :: Lens' MsgLinuxCpuState Text
- msgLinuxCpuState_flags :: Lens' MsgLinuxCpuState Word8
- msgLinuxCpuState_index :: Lens' MsgLinuxCpuState Word8
- msgLinuxCpuState_pcpu :: Lens' MsgLinuxCpuState Word8
- msgLinuxCpuState_pid :: Lens' MsgLinuxCpuState Word16
- msgLinuxCpuState_time :: Lens' MsgLinuxCpuState Word32
- msgLinuxCpuState_tname :: Lens' MsgLinuxCpuState Text
- msgLinuxMemState_cmdline :: Lens' MsgLinuxMemState Text
- msgLinuxMemState_flags :: Lens' MsgLinuxMemState Word8
- msgLinuxMemState_index :: Lens' MsgLinuxMemState Word8
- msgLinuxMemState_pid :: Lens' MsgLinuxMemState Word16
- msgLinuxMemState_pmem :: Lens' MsgLinuxMemState Word8
- msgLinuxMemState_time :: Lens' MsgLinuxMemState Word32
- msgLinuxMemState_tname :: Lens' MsgLinuxMemState Text
- msgLinuxSysState_flags :: Lens' MsgLinuxSysState Word8
- msgLinuxSysState_mem_total :: Lens' MsgLinuxSysState Word16
- msgLinuxSysState_pcpu :: Lens' MsgLinuxSysState Word8
- msgLinuxSysState_pid_count :: Lens' MsgLinuxSysState Word16
- msgLinuxSysState_pmem :: Lens' MsgLinuxSysState Word8
- msgLinuxSysState_procs_starting :: Lens' MsgLinuxSysState Word16
- msgLinuxSysState_procs_stopping :: Lens' MsgLinuxSysState Word16
- msgLinuxSysState_time :: Lens' MsgLinuxSysState Word32
Documentation
data MsgLinuxCpuStateDepA Source #
SBP class for message MSG_LINUX_CPU_STATE_DEP_A (0x7F00).
Deprecated.
MsgLinuxCpuStateDepA | |
|
Instances
data MsgLinuxMemStateDepA Source #
SBP class for message MSG_LINUX_MEM_STATE_DEP_A (0x7F01).
Deprecated.
MsgLinuxMemStateDepA | |
|
Instances
data MsgLinuxSysStateDepA Source #
SBP class for message MSG_LINUX_SYS_STATE_DEP_A (0x7F02).
Deprecated.
MsgLinuxSysStateDepA | |
|
Instances
data MsgLinuxProcessSocketCounts Source #
SBP class for message MSG_LINUX_PROCESS_SOCKET_COUNTS (0x7F03).
Top 10 list of processes with high socket counts.
MsgLinuxProcessSocketCounts | |
|
Instances
data MsgLinuxProcessSocketQueues Source #
SBP class for message MSG_LINUX_PROCESS_SOCKET_QUEUES (0x7F04).
Top 10 list of sockets with deep queues.
MsgLinuxProcessSocketQueues | |
|
Instances
data MsgLinuxSocketUsage Source #
SBP class for message MSG_LINUX_SOCKET_USAGE (0x7F05).
Summaries the socket usage across the system.
MsgLinuxSocketUsage | |
|
Instances
data MsgLinuxProcessFdCount Source #
SBP class for message MSG_LINUX_PROCESS_FD_COUNT (0x7F06).
Top 10 list of processes with a large number of open file descriptors.
MsgLinuxProcessFdCount | |
|
Instances
FromJSON MsgLinuxProcessFdCount Source # | |
Defined in SwiftNav.SBP.Linux | |
ToJSON MsgLinuxProcessFdCount Source # | |
Defined in SwiftNav.SBP.Linux toJSON :: MsgLinuxProcessFdCount -> Value # toEncoding :: MsgLinuxProcessFdCount -> Encoding # toJSONList :: [MsgLinuxProcessFdCount] -> Value # toEncodingList :: [MsgLinuxProcessFdCount] -> Encoding # omitField :: MsgLinuxProcessFdCount -> Bool # | |
Read MsgLinuxProcessFdCount Source # | |
Defined in SwiftNav.SBP.Linux | |
Show MsgLinuxProcessFdCount Source # | |
Defined in SwiftNav.SBP.Linux showsPrec :: Int -> MsgLinuxProcessFdCount -> ShowS # show :: MsgLinuxProcessFdCount -> String # showList :: [MsgLinuxProcessFdCount] -> ShowS # | |
Binary MsgLinuxProcessFdCount Source # | |
Defined in SwiftNav.SBP.Linux put :: MsgLinuxProcessFdCount -> Put # get :: Get MsgLinuxProcessFdCount # putList :: [MsgLinuxProcessFdCount] -> Put # | |
Eq MsgLinuxProcessFdCount Source # | |
Defined in SwiftNav.SBP.Linux | |
ToSBP MsgLinuxProcessFdCount Source # | |
Defined in SwiftNav.SBP.Linux |
data MsgLinuxProcessFdSummary Source #
SBP class for message MSG_LINUX_PROCESS_FD_SUMMARY (0x7F07).
Summary of open file descriptors on the system.
MsgLinuxProcessFdSummary | |
|
Instances
FromJSON MsgLinuxProcessFdSummary Source # | |
Defined in SwiftNav.SBP.Linux | |
ToJSON MsgLinuxProcessFdSummary Source # | |
Defined in SwiftNav.SBP.Linux | |
Read MsgLinuxProcessFdSummary Source # | |
Show MsgLinuxProcessFdSummary Source # | |
Defined in SwiftNav.SBP.Linux showsPrec :: Int -> MsgLinuxProcessFdSummary -> ShowS # show :: MsgLinuxProcessFdSummary -> String # showList :: [MsgLinuxProcessFdSummary] -> ShowS # | |
Binary MsgLinuxProcessFdSummary Source # | |
Defined in SwiftNav.SBP.Linux put :: MsgLinuxProcessFdSummary -> Put # get :: Get MsgLinuxProcessFdSummary # putList :: [MsgLinuxProcessFdSummary] -> Put # | |
Eq MsgLinuxProcessFdSummary Source # | |
Defined in SwiftNav.SBP.Linux | |
ToSBP MsgLinuxProcessFdSummary Source # | |
Defined in SwiftNav.SBP.Linux |
data MsgLinuxCpuState Source #
SBP class for message MSG_LINUX_CPU_STATE (0x7F08).
This message indicates the process state of the top 10 heaviest consumers of CPU on the system, including a timestamp.
MsgLinuxCpuState | |
|
Instances
FromJSON MsgLinuxCpuState Source # | |
Defined in SwiftNav.SBP.Linux parseJSON :: Value -> Parser MsgLinuxCpuState # parseJSONList :: Value -> Parser [MsgLinuxCpuState] # | |
ToJSON MsgLinuxCpuState Source # | |
Defined in SwiftNav.SBP.Linux toJSON :: MsgLinuxCpuState -> Value # toEncoding :: MsgLinuxCpuState -> Encoding # toJSONList :: [MsgLinuxCpuState] -> Value # toEncodingList :: [MsgLinuxCpuState] -> Encoding # omitField :: MsgLinuxCpuState -> Bool # | |
Read MsgLinuxCpuState Source # | |
Defined in SwiftNav.SBP.Linux | |
Show MsgLinuxCpuState Source # | |
Defined in SwiftNav.SBP.Linux showsPrec :: Int -> MsgLinuxCpuState -> ShowS # show :: MsgLinuxCpuState -> String # showList :: [MsgLinuxCpuState] -> ShowS # | |
Binary MsgLinuxCpuState Source # | |
Defined in SwiftNav.SBP.Linux | |
Eq MsgLinuxCpuState Source # | |
Defined in SwiftNav.SBP.Linux (==) :: MsgLinuxCpuState -> MsgLinuxCpuState -> Bool # (/=) :: MsgLinuxCpuState -> MsgLinuxCpuState -> Bool # | |
ToSBP MsgLinuxCpuState Source # | |
Defined in SwiftNav.SBP.Linux |
data MsgLinuxMemState Source #
SBP class for message MSG_LINUX_MEM_STATE (0x7F09).
This message indicates the process state of the top 10 heaviest consumers of memory on the system, including a timestamp.
MsgLinuxMemState | |
|
Instances
FromJSON MsgLinuxMemState Source # | |
Defined in SwiftNav.SBP.Linux parseJSON :: Value -> Parser MsgLinuxMemState # parseJSONList :: Value -> Parser [MsgLinuxMemState] # | |
ToJSON MsgLinuxMemState Source # | |
Defined in SwiftNav.SBP.Linux toJSON :: MsgLinuxMemState -> Value # toEncoding :: MsgLinuxMemState -> Encoding # toJSONList :: [MsgLinuxMemState] -> Value # toEncodingList :: [MsgLinuxMemState] -> Encoding # omitField :: MsgLinuxMemState -> Bool # | |
Read MsgLinuxMemState Source # | |
Defined in SwiftNav.SBP.Linux | |
Show MsgLinuxMemState Source # | |
Defined in SwiftNav.SBP.Linux showsPrec :: Int -> MsgLinuxMemState -> ShowS # show :: MsgLinuxMemState -> String # showList :: [MsgLinuxMemState] -> ShowS # | |
Binary MsgLinuxMemState Source # | |
Defined in SwiftNav.SBP.Linux | |
Eq MsgLinuxMemState Source # | |
Defined in SwiftNav.SBP.Linux (==) :: MsgLinuxMemState -> MsgLinuxMemState -> Bool # (/=) :: MsgLinuxMemState -> MsgLinuxMemState -> Bool # | |
ToSBP MsgLinuxMemState Source # | |
Defined in SwiftNav.SBP.Linux |
data MsgLinuxSysState Source #
SBP class for message MSG_LINUX_SYS_STATE (0x7F0A).
This presents a summary of CPU and memory utilization, including a timestamp.
MsgLinuxSysState | |
|
Instances
FromJSON MsgLinuxSysState Source # | |
Defined in SwiftNav.SBP.Linux parseJSON :: Value -> Parser MsgLinuxSysState # parseJSONList :: Value -> Parser [MsgLinuxSysState] # | |
ToJSON MsgLinuxSysState Source # | |
Defined in SwiftNav.SBP.Linux toJSON :: MsgLinuxSysState -> Value # toEncoding :: MsgLinuxSysState -> Encoding # toJSONList :: [MsgLinuxSysState] -> Value # toEncodingList :: [MsgLinuxSysState] -> Encoding # omitField :: MsgLinuxSysState -> Bool # | |
Read MsgLinuxSysState Source # | |
Defined in SwiftNav.SBP.Linux | |
Show MsgLinuxSysState Source # | |
Defined in SwiftNav.SBP.Linux showsPrec :: Int -> MsgLinuxSysState -> ShowS # show :: MsgLinuxSysState -> String # showList :: [MsgLinuxSysState] -> ShowS # | |
Binary MsgLinuxSysState Source # | |
Defined in SwiftNav.SBP.Linux | |
Eq MsgLinuxSysState Source # | |
Defined in SwiftNav.SBP.Linux (==) :: MsgLinuxSysState -> MsgLinuxSysState -> Bool # (/=) :: MsgLinuxSysState -> MsgLinuxSysState -> Bool # | |
ToSBP MsgLinuxSysState Source # | |
Defined in SwiftNav.SBP.Linux |