mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
psutil: improve svmem types (#8503)
This commit is contained in:
@@ -26,17 +26,17 @@ HAS_PROC_NUM_FDS: Any
|
||||
kinfo_proc_map: Any
|
||||
|
||||
class svmem(NamedTuple):
|
||||
total: Any
|
||||
available: Any
|
||||
percent: Any
|
||||
used: Any
|
||||
free: Any
|
||||
active: Any
|
||||
inactive: Any
|
||||
buffers: Any
|
||||
cached: Any
|
||||
shared: Any
|
||||
wired: Any
|
||||
total: int
|
||||
available: int
|
||||
percent: float
|
||||
used: int
|
||||
free: int
|
||||
active: int
|
||||
inactive: int
|
||||
buffers: int
|
||||
cached: int
|
||||
shared: int
|
||||
wired: int
|
||||
|
||||
class scputimes(NamedTuple):
|
||||
user: Any
|
||||
|
||||
@@ -41,17 +41,17 @@ PROC_STATUSES: Any
|
||||
TCP_STATUSES: Any
|
||||
|
||||
class svmem(NamedTuple):
|
||||
total: Any
|
||||
available: Any
|
||||
percent: Any
|
||||
used: Any
|
||||
free: Any
|
||||
active: Any
|
||||
inactive: Any
|
||||
buffers: Any
|
||||
cached: Any
|
||||
shared: Any
|
||||
slab: Any
|
||||
total: int
|
||||
available: int
|
||||
percent: float
|
||||
used: int
|
||||
free: int
|
||||
active: int
|
||||
inactive: int
|
||||
buffers: int
|
||||
cached: int
|
||||
shared: int
|
||||
slab: int
|
||||
|
||||
class sdiskio(NamedTuple):
|
||||
read_count: Any
|
||||
|
||||
@@ -26,14 +26,14 @@ class scputimes(NamedTuple):
|
||||
idle: Any
|
||||
|
||||
class svmem(NamedTuple):
|
||||
total: Any
|
||||
available: Any
|
||||
percent: Any
|
||||
used: Any
|
||||
free: Any
|
||||
active: Any
|
||||
inactive: Any
|
||||
wired: Any
|
||||
total: int
|
||||
available: int
|
||||
percent: float
|
||||
used: int
|
||||
free: int
|
||||
active: int
|
||||
inactive: int
|
||||
wired: int
|
||||
|
||||
class pmem(NamedTuple):
|
||||
rss: Any
|
||||
|
||||
@@ -62,11 +62,11 @@ class scputimes(NamedTuple):
|
||||
dpc: Any
|
||||
|
||||
class svmem(NamedTuple):
|
||||
total: Any
|
||||
available: Any
|
||||
percent: Any
|
||||
used: Any
|
||||
free: Any
|
||||
total: int
|
||||
available: int
|
||||
percent: float
|
||||
used: int
|
||||
free: int
|
||||
|
||||
class pmem(NamedTuple):
|
||||
rss: Any
|
||||
|
||||
Reference in New Issue
Block a user