Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
9870d8f3
Commit
9870d8f3
authored
Mar 25, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distr_info: improve print info output
parent
bccce738
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
distr_info
bin/distr_info
+13
-13
No files found.
bin/distr_info
View file @
9870d8f3
...
...
@@ -793,20 +793,20 @@ print_pretty_name()
print_total_info
()
{
cat
<<
EOF
distro_info v
$PROGVERSION
: Copyright © 2007-202
2
Etersoft
distro_info v
$PROGVERSION
: Copyright © 2007-202
3
Etersoft
Total system information:
Pretty distro name (--pretty):
$(
print_pretty_name
)
Distro name and version
(-e):
$(
print_name_version
)
Package manager/type (-g/-p):
$(
pkgmanager
)
/
$(
pkgtype
)
Running service manager (-y):
$(
get_service_manager
)
Virtualization (-i):
$(
get_virt
)
CPU Cores/MHz (-c/-z):
$(
get_core_count
)
/
$(
get_core_mhz
)
MHz
CPU Architecture (-a):
$(
get_arch
)
CPU norm register size (-b):
$(
get_bit_size
)
System memory size (MB) (-m):
$(
get_memory_size
)
Base OS name (-o):
$(
get_base_os_name
)
Base distro (vendor) name (-s|-n):
$(
pkgvendor
)
Version codename (--codename):
$(
print_codename
)
Pretty distro name (--pretty):
$(
print_pretty_name
)
Distro name (-d) and version (-v)
(-e):
$(
print_name_version
)
Package manager/type (-g/-p):
$(
pkgmanager
)
/
$(
pkgtype
)
Running service manager (-y):
$(
get_service_manager
)
Virtualization (-i):
$(
get_virt
)
CPU Cores/MHz (-c/-z):
$(
get_core_count
)
/
$(
get_core_mhz
)
MHz
CPU Architecture (-a):
$(
get_arch
)
CPU norm register size (-b):
$(
get_bit_size
)
System memory size (MB) (-m):
$(
get_memory_size
)
Base OS name (-o):
$(
get_base_os_name
)
Base distro (vendor) name (-s|-n):
$(
pkgvendor
)
Version codename (--codename):
$(
print_codename
)
(run with -h to get help)
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment