LinuxMonitor 1.5.9__tar.gz → 1.5.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LinuxMonitor
3
- Version: 1.5.9
3
+ Version: 1.5.10
4
4
  Summary: Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)
5
5
  Home-page: https://github.com/QuentinCG/Linux-Monitor-Python-Library
6
6
  Author: Quentin Comte-Gaz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LinuxMonitor
3
- Version: 1.5.9
3
+ Version: 1.5.10
4
4
  Summary: Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)
5
5
  Home-page: https://github.com/QuentinCG/Linux-Monitor-Python-Library
6
6
  Author: Quentin Comte-Gaz
@@ -33,7 +33,7 @@ __email__ = "quentin@comte-gaz.com"
33
33
  __license__ = "MIT License"
34
34
  __copyright__ = "Copyright Quentin Comte-Gaz (2026)"
35
35
  __python_version__ = "3.+"
36
- __version__ = "1.5.9 (2026/08/22)"
36
+ __version__ = "1.5.10 (2026/08/22)"
37
37
  __status__ = "Usable for any Linux project"
38
38
 
39
39
  import json
@@ -1542,7 +1542,7 @@ class LinuxMonitor:
1542
1542
  """
1543
1543
  Get the raw version of the Linux Monitor library.
1544
1544
 
1545
- :return: The version string (e.g. "1.5.9 (2026/08/22)").
1545
+ :return: The version string (e.g. "x.x.x (20xx/xx/xx)").
1546
1546
  """
1547
1547
  return __version__
1548
1548
 
@@ -1816,7 +1816,7 @@ class LinuxMonitor:
1816
1816
  try:
1817
1817
  create_time = datetime.fromtimestamp(process.info['create_time']).strftime("%Y-%m-%d %H:%M:%S")
1818
1818
 
1819
- cmdline = ' '.join(process.info['cmdline']) # Join the command line arguments
1819
+ cmdline = ' '.join(process.info['cmdline'] or []) # cmdline can be None (e.g. kernel threads)
1820
1820
  # Remove extra spaces
1821
1821
  cmdline = re.sub(r'\s+', ' ', cmdline).strip()
1822
1822
  if len(cmdline) > 60:
@@ -6,7 +6,7 @@ with io.open(file='README.md', mode='r', encoding='utf-8') as readme_file:
6
6
 
7
7
  setup(
8
8
  name="LinuxMonitor",
9
- version="1.5.9",
9
+ version="1.5.10",
10
10
  description="Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)",
11
11
  long_description=readme,
12
12
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes