seduction
Language:
EN
DE
Siduction Forum
»
Siduction Forum
»
Scripting & Kernelhacking
»
Scripting & Kernelhacking (EN)
»
new inxi feature: -m for system ram
manual
news
wiki
bugs
git
gallery
packages
download
donate
imprint
Advanced search
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
2021/01/18, 08:27:25
1 Hour
1 Day
1 Week
1 Month
Forever
Links
Debian Transitions
New/Byhand
Distrowatch
Google+
Help
Help
Contact
« previous
next »
Print
Pages:
1
2
[
3
]
Go Down
Author
Topic: new inxi feature: -m for system ram (Read 13421 times)
0 Members and 1 Guest are viewing this topic.
bluelupo
Global Moderator
User
Posts: 2.067
Re: new inxi feature: -m for system ram
«
Reply #30 on:
2014/08/27, 21:42:37 »
hi h2,
I would request concerning the implementation of a features for your tool "inxi". For me would be interesting if inxi the last system update (date and time of an "apt-get dist-upgrade") could be determined?
Would that be feasible? It would be very pleased if you could implement the proposal.
Logged
Ciao bluelupo
BlueLupoMe Blog
BlueLupo's Wiki
BlueLupo bei Mastodon
Bluelupo bei Diaspora
h2
User
Posts: 64
Re: new inxi feature: -m for system ram
«
Reply #31 on:
2014/08/28, 01:47:27 »
smxi does that but can only do it if you always use smxi, otherwise there's no actual way to know when a full upgrade has been run.
Remember that all upgrade/dist-upgrade means as far as I know (and correct me if I am wrong) is that you tell the system to install latest version of all the packages.
I have some understanding of the issues from making the smxi last upgrade thing, but that one only works if
a: you always use smxi to upgrade
b: the system has been upgraded by smxi before
the hack I did there was to simply add a 'last-upgrade=' item to the smxi.conf file, which smxi reads.
However, in the context of inxi, I do not know of any way to know the system has been upgraded or when, and such a feature should include at least rpm/deb, maybe pacman, though I doubt pacman has a way to know such things.
With this said, if you can find a way to actually determine when the system last was upgraded, let me know, I am failrly familiar with debian upgrade stuff and I could not find a way that a script could read from the system state itself.
Remember that to actually be a real upgrade, the system must not exit the upgrade before it's done, that's why smxi for example only sets the last upgrade time after du/upgrade exits/completes without error or user initiated exit.
as good as apt is, it's missing a few things, meaningful error return numbers for example, a flag set each fully completed upgrade, and some other basic stuff that would not be that hard to do in apt, but I don't believe they are done.
Logged
inxi
::
smxi/sgfxi
Print
Pages:
1
2
[
3
]
Go Up
« previous
next »
Siduction Forum
»
Siduction Forum
»
Scripting & Kernelhacking
»
Scripting & Kernelhacking (EN)
»
new inxi feature: -m for system ram