You are not logged in.
Hello:
If Debian had it, we would have it.
Ahh ...
That's the reason.
Learn something new every day. 8^)
... only touch files with systemd issues.
... when Debian offers it, then we will ...
Right.
So my question should have been: why do the Debian repositories have inxi and not smxi and the rest.
Maybe they are not happy with his stance on systemd, the same one I acquired once I realised what was going on albeit only after a 4/5 year tour of Debian/RH based distributions.
Thanks a lot for bearing with me.
Cheers,
A.
Hello:
... thanks for tracking that down.
You're welcome. =-)
... had great respect for HH and thank him for his contributions and making that script compatible with Devuan.
Yes.
That website he's set up is great.
Really neat.
I have only used inxi which I find to be excellent, so I wanted to see about smxi, which I did not know about.
... that package comes directly from Debian ...
Indeed ...
But Debian also means (in some way, methinks) systemd related.
As I always try to avoid installing anything from outside the Devuan repositories, I went to synaptic expecting to find it there, just like inxi.
I did not find it so I went looking for it at https://pkginfo.devuan.org/ and it had not been / was not there either.
This called my attention, which is why I asked.
I'll install it from HH's site but maybe (?) it could be added to the stable/backport repositories in the future?
Thanks for your input.
A.
Hello:
sgfxi at https://smxi.org/ will automate everything.
Being a long time user of Nvidia legacy cards/drivers under Linux, I was interested in seeing what smxi was about and saw that the author is also the author of the inxi script.
Did not know that.
Although inxi is in the Devuan repositories, I see that smxi (or the other author's scripts) is not.
Further looking in https://pkginfo.devuan.org/ revealed that it smxi has never been included in any Devuan repository.
Is there a specific reason for that?
I have read posts from mid 2015 regarding some difficulty the smxi script seemed to have ID'ing Devuan but it seems to have been fixed.
EDIT:
Fix confirmed - https://github.com/smxi/inxi/blob/master/inxi.changelog
=====================================================================================
Version: 2.2.23
Patch: 00
Date: 2015-06-08
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Tiny change. Added /etc/devuan_version file to distro id to handle
the switched file name. Kudos to anyone out there fighting to create a working alternative
to the unreliable and buggy and windows emulating systemd, I wish devuan luck. Maybe between
devuan and gentoo and slackware we can save the free software core systems before it's too late.
-----------------------------------
-- Harald Hope - Mon, 08 Jun 2015 15:43:52 -0700
=====================================================================================
Thanks in advance,
A.
Hello:
Yes, that did it.
Spoke too soon ...
The problem was still there. =^ 7
ie: Rebooting with anything storage plugged in would screw up the conky readout.
I think/guess what using UUIDs in fstab does is link the drive's UUIDs to partitions but still that leaves eventual drive letter assignments in a dynamic state, so to speak.
ie: a UUID does not get permanently linked to a drive letter.
The solution then is to point conky to the drive's UUID.
eg:
TEMPERATURES
${hr 2}
${execpi 5 sensors | grep Core | awk '{print $1 $2 $3}' | cut -c1-15}
${hr 0.3}
/dev/sda: ${execi 60 hddtemp /dev/disk/by-uuid/d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 | cut -c 81-84}
/dev/sdb: ${execi 60 hddtemp /dev/disk/by-uuid/49d1369c-ed70-4543-b0ee-ef65327e101b | cut -c 83-86}
/dev/sdc: ${execi 60 hddtemp /dev/disk/by-uuid/bdf33361-5929-433e-ac7f-1a626aa6e844 | cut -c 78-81}
/dev/sdd: ${execi 60 hddtemp /dev/disk/by-uuid/c722f26d-5c9a-42a9-8c2b-6dbdf926d865 | cut -c 83-86}
/dev/sde: ${execi 60 hddtemp /dev/disk/by-uuid/ca8dbded-819d-4e2b-b017-0981a75ea718 | cut -c 101-104}
... instead of what I was using before:
TEMPERATURES
${hr 2}
${execpi 5 sensors | grep Core | awk '{print $1 $2 $3}' | cut -c1-15}
${hr 0.3}
/dev/sda: ${execi 60 hddtemp /dev/sda | cut -c 35-55}
/dev/sdb: ${execi 60 hddtemp /dev/sdb | cut -c 37-57}
/dev/sdc: ${execi 60 hddtemp /dev/sdc | cut -c 32-55}
/dev/sdd: ${execi 60 hddtemp /dev/sdd | cut -c 37-55}
/dev/sde: ${execi 60 hddtemp /dev/sde | cut -c 55-65}
Now, independently of changing my fstab to UUID (or not) now conky will run hddtemp on drives by UUID.
Cheers,
A.
How is it that this actually slipped by Torvalds?
Some time ago, the world+dog endlessly busted Torvald's balls because he shouted and cursed a number of dimwitt/AH coders in order to keep a tight ship.
But it does not seem that anyone is saying absolutely anything about this nonsense.
Call me what you will, but I think that if this type of thing is not stopped ASAP, the Linux kernel as we know it will end up going to the dogs.
A.
Hello:
Anyone else read this?
https://www.theregister.co.uk/2020/03/3 … _released/
Actually, nothing much out of the usual but for this exception:
There's also support for the Amazon Echo smart speaker ...
What the *#&%!~ is wrong with the developers who came up with this stupidity?
Is the quarantine affecting them that much?
Does anyone really think it is actually useful to anyone to link your rig to this abomination and wilfully/knowingly set up a huge security risk?
http://theconversation.com/amazon-echos … ngs-130016
Is there a case for using a Alexa craps to remotely control a Linux box/device?
How is it that this actually slipped by Torvalds?
Absolutely uncanny ...
A.
Hello:
Is that at all possible?
Finally found a clue here:
https://askubuntu.com/questions/103913/ … l-commands
The solution is within ~/.bashrc, where you have to edit this section of the script ...
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
... to get this:
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=always'
alias dir='dir --color=always'
alias vdir='vdir --color=always'
alias grep='grep --color=always'
alias fgrep='fgrep --color=always'
alias egrep='egrep --color=always'
alias dmesg='dmesg --color=always'
fi
Basically what this is does is generate aliases with the --color=always modifier.
From what I have read in the link, it would seem that the --color= modifier is hard coded into dmesg as well as other utilities.
eg: apparently dir does not have it but ls does.
Cheers,
A.
Hello:
I'll have a good look at that and see if I can replace auto with always.
I have not been able to find out where to change this.
As I have mentioned, the output of dmesg is highlighted but the output of dmesg | grep whatever is not.
As expected, dmesg --color=always | grep whatever is highlighted.
My reasoning is that there is a script or file somewhere that sets dmesg to dmesg --color=auto, otherwise the output would be in the default b+w.
I've looked at the dmesg and terminal-colors.d man files to no avail.
There are references to $XDG_CONFIG_HOME/terminal-colors.d or $HOME/.config/terminal-colors.d to override the global setting but what I would like to is to change the global setting from dmesg --color=auto to dmesg --color=always for all the cli utilities I use, not only dmesg. eg: ls, dir, etc.
It seems that aliases could be generated to do that but I think it would be better to make the change globally.
Is that at all possible?
Thanks in advance,
A.
Hello:
... using the disk UUIDs, (PARTUUIDs) ...
Yes, that did it.
... or using labels ...
That too ...
But then I realised that a label could end up not being as unique as a UUID.
Thanks a lot for your input.
Cheers,
A.
Hello:
I use conky to monitor the temperature of my SAS/SATA drives with this configuration:
TEMPERATURES
${hr 2}
${execpi 5 sensors | grep Core | awk '{print $1 $2 $3}' | cut -c1-15}
${hr 0.3}
/dev/sda: ${execi 60 hddtemp /dev/sda | cut -c 35-55}
/dev/sdb: ${execi 60 hddtemp /dev/sdb | cut -c 37-57}
/dev/sdc: ${execi 60 hddtemp /dev/sdc | cut -c 32-55}
/dev/sdd: ${execi 60 hddtemp /dev/sdd | cut -c 37-55}
/dev/sde: ${execi 60 hddtemp /dev/sde | cut -c 55-65}
The readout I get is ...
/dev/sda: 27 C
/dev/sdb: 44 C
/dev/sdc: 50 C
/dev/sdd: 45 C
/dev/sde: 39 C
But everytime I plug in an external drive or a reader, forget to unplug it and reboot, the readout gets mangled as whatever I have plugged in gets assigned one of the already assigned drive letters and scrambling the readout.
It makes me remember that I have left something plugged in but it is a nuisance. =-)
Is there a way to get the system to keep the already assigned drive letters in place and assign vacan ones to whatever gets plugged in?
Thanks in advance,
A.
Hello:
The default is color=auto according to man dmesg.
Thank you for pointing that out in such a gentle manner.
Should know better by now, must make it a point of looking through the man files before asking. =-7
... page also has a section on COLORS ...
I'll have a good look at that and see if I can replace auto with always.
I use rxvt as my terminal and it is able to display colours.
I'll check that out also.
Thanks a lot, you have been very helpful.
Cheers,
A.
Hello:
Thanks for the prompt reply.
... dmesg auto detects whether the output is to the screen or not and turns on colour or not!
There is a switch --color=[auto|always|never], so I think what you need is :-dmesg --color=always | cat
Right ...
That works ...
Using the switch the difference between sudo dmesg | grep whatever and sudo dmesg --color=always | grep whatever is that the highlighting is turned on.
Now, sudo dmesg is always highlighted but not by my using any switch so I guess there is a setting/place where that switch is applied.
Where might that setting be?
Thanks in advance,
A.
Hello:
Sorry for reviving an oldish thread but I just came across your post.
These days I seem to have more time to read unanswered posts .... =-/
One of the things I like of how Devuan ascii is implemented is how console output is highlighted at boot time and when using commands such as dmesg.
Unfortunately, the output of dmesg | grep whatever gets written to the terminal without any highlighting.
Is there a way to fix/change this so that anything printed to the terminal has the same highlighted output/behaves in the same manner, irrespective of whatever comes after the command line instruction?
It would be nice to have it enabled by default.
Thanks in advance,
A.
Hello:
... running awk against them and get 3 both times
... can't see what's going wrong for you.
Hmm ...
I copied and pasted the output from the terminal so I cannot see what happened either.
But you are quite correct:
Running that awk stanza on this specific /var/log/cups/page_log configuration will tally the printed pages correctly.
I summed them up by hand and it checked out. =-)
Turns out that the OEM cartdrige that came with the printer ended up being good for just 362 pages:
groucho@devuan:~/Desktop/awkcups$ awk '/groucho/{pages += $7} END {print pages}' /var/log/cups/page_log
362
groucho@devuan:~/Desktop/awkcups$
I now have to see how to go about trimming the page_log output, no need for all that data.
Thank you (all) very much for your help with this.
Cheers,
A.
Hello:
awk counts words separated by spaces. So as long as the number of pages printed is just a string of digits ...
Yes, but ...
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:41:51 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:42:00 -0300] 2 1 - localhost
Samsung_M2020_Series groucho 4 [05/Dec/2018:08:29:39 -0300] 1 1 - localhost
| <- print job page number -> | | <- pages printed
In the example above, we see two print jobs: print job 3 which outputs 1 copy of page 1 and 1 copy of page 2 and print job 4, which outputs 1 copy of page 1.
The awk stanza in my previous post will correctly tally the amount of pages printed, ie: 3 pages.
groucho@devuan:~/Desktop/awkcups$ awk '/groucho/{pages += $7} END {print pages}' /home/groucho/Desktop/awkcups/plog1
3
groucho@devuan:~/Desktop/awkcups$
Now, in a different scenario, where we have two digit print jobs with the rest being the same ...
Samsung_M2020_Series groucho 13 [27/Nov/2018:16:41:51 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 13 [27/Nov/2018:16:42:00 -0300] 2 1 - localhost
Samsung_M2020_Series groucho 14 [05/Dec/2018:08:29:39 -0300] 1 1 - localhost
... the awk stanza previously applied gives an incorrect output, ie: 5 pages
groucho@devuan:~/Desktop/awkcups$ awk '/groucho/{pages += $7} END {print pages}' /home/groucho/Desktop/awkcups/pg1log
5
groucho@devuan:~/Desktop/awkcups$
The same problem would arise if a print job is for 20 copies of a single page.
At the risk of stating the obvious, the same awk stanza parses the /var/log/cups/page_log file which (depending on how the printer is used) can have between one and four digits both in the print job number and the number of pages printed. I limit this to four digits because the size of cartdrige 2020W cartdrige won't ever print 9999 pages.
I can't see how to solve this with awk and have searched all over the web for a script to do basic CUPS accounting to no avail.
Thanks for your input.
A.
Hello:
... whatever the working awk stanza is, it will be good for this particular setup as a change in the printer name or user could throw off the results.
Is this so?
It seems that it is more compliacted than that.
For my purposes (printed page accounting) the relevant data in each line of the /var/log/cups/page_log file boils down to the number that tells me the amount of pages printed in each print job.
As there's only one printer Samsung_M2020_Series and only one user groucho the column where the print job number, page number and pager printed data are will always be in the same position.
Data that comes after that informing page size and content is irrelevant for what I need to do.
Samsung_M2020_Series groucho 1 [02/Nov/2018:10:50:45 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 2 [08/Nov/2018:18:10:50 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:41:51 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:42:00 -0300] 2 1 - localhost
Samsung_M2020_Series groucho 4 [05/Dec/2018:08:29:39 -0300] 1 1 - localhost
| <- print job page number -> | | <- pages printed
So if I run awk '/groucho/{pages += $7} END {print pages}' against that data, it correctly tells me how many pages I have printed.
ie: 5 pages.
Now, when printing starts, print job will be a one digit number for the first nine lines in the log and from then on, will be two digit numbers for the next 99 and so on.
Page number and pages printed will also be one digit numbers as long as the print job being logged has only nine different pages to print and the amount of pages printed is under 10.
But when these change, the awk stanza is useless.
Even if I trim the data being logged (I'm on that) to limit it to just the bare essentials (date, page number and pages printed), the problem susbsists as these last two will change.
How to get around that?
Thanks in advance,
A.
Hello:
... don't need to run TRIM command at all if you mount filesystem with 'discard'...
Yes, but thenI'd be running trim every time I booted the rig, which could be up to three or four times a day.
I'm looking to analyse the /var/log/trim files in a month or so to see what went on and then decide on weekly, monthly or something else.
There's a chap that wrote a daemon for running trim here:
https://github.com/dobek/fstrimDaemon
He argues that it would seem to be "more reliable to execute fstrim based on up time then cron table.".
Thanks for your input.
Cheers,
A.
Hello:
Use a weekly cron job ...
Done.
Works a treat. =-)
#!/bin/sh
# trim all mounted file systems which support it
# added 20200315
#
LOG=/var/log/trim.log
echo "*** $(date -R) ***" >> $LOG
fstrim --all --verbose >> $LOG
groucho@devuan:~$ cat /var/log/trim.log
*** Sun, 15 Mar 2020 17:51:27 -0300 ***
/var/log: 0 B (0 bytes) trimmed
/home: 112 MiB (117415936 bytes) trimmed
/: 483.9 MiB (507346944 bytes) trimmed
groucho@devuan:~$
Just changed the name of the cron job so that it would not be the same as the executable.
Thanks for your input.
Cheers,
A.
Hello:
I don't think it's started automatically ...
Right. (A bit late in life but I have vowed to try to stop using OK)
... Debian util-linux package supplies systemd timer & service unit files ...
... but the Devuan package doesn't include those files or any cron jobs ...
I see.
... trimmed_log.txt file in your home directory must be for something else.
Hmm ...
I'll start looking again to see if I can find out just where it comes from.
... create a cron job for it, as I have shown.
I was just about to do that when I found trimmed_log.txt.
--- solved ---
From its content and name, it seemed (to me) that it could have been produced by fstrim.
But it turns out that it is not. =-)
A search on the web brought up just three hits, one of them from a thread I (!) started here at Dev1.
So it turned out that it was right in front of me/us.
See here:
https://dev1galaxy.org/viewtopic.php?pid=20206#p20206
The simplest way to trim information from the log is awk
I suppose in the "Samsung_M2020_Series groucho 109 [27/Dec/2018:08:37:02 -0300] 1 1 - localhost H:\Desktop\flower_sm.jpg A4 -" entry the 6th word (in this case it's "1") is the number of printed pages. Therefore the following command will give a text table with date/time and amount of printed pages found by the word "A4":
cat /var/log/cups/page_log | grep A4 | awk '{print $4$5 " " $6}' > trimmed_log.txt <-------------- !!!
And here:
https://dev1galaxy.org/viewtopic.php?pid=20211#p20211
Try these instead:
awk '/A4/{print $4$5 " " $6}' /var/log/cups/page_log > trimmed_log.txt <-------------- !!! awk '/A4/{pages += $6} END {print pages}' /var/log/cups/page_log
It was generated when I was trying to figure out how many pages my M2020W cartdrige had actually printed before running out.
Which I still have to figure out how to awk properly.
Thanks a lot for your input.
Cheers,
A.
Hello:
Bookmark this page ...
Thanks ...
Already had it.
Tools to investigate ...
Indeed ...
I use locate and grep every day.
I have used which, whereis, ps and htop at some time or another as part of a script I copied from the web.
The rest I have not come across, at least that I remember.
Thanks for the pointer.
But I am still far from finding out where (in my Devuan ascii) fstrim is started and under what circumstances.
One thing I found and think it is important:
https://unix.stackexchange.com/question … -do-fstrim
TRIM does at least three things:
1. minimize write amplification
2. prevent long-term performance degradation
3. irrecoverably delete your data--- snip ---
If you decide on fstrim you should know where the cron job is located so you can disable it when you have an accident, that way you get a compromise between 2) and 3).
I would have expected to find the cron job for fstrim in /etc/cron.daily, /etc/cron.weekly or /etc/cron.monthly but it is not there.
I would like to edit the configuration file so that it logs in /var/log/fstrim.log with the verbose option so I know what it is doing or even disable it.
Instead just basic data in trimmed_log.txt in my /home directory.
Any idea as to where it is in Devuan ascii?
Thanks for your input.
Cheers,
A.
Hello:
... download the .deb package then unpack it and copy the script ...
I posted and went to make myself an espresso which made my head work a bit better.
So:
groucho@devuan:~$ locate trim
/home/groucho/trimmed_log.txt
/sbin/fstrim
/usr/share/bash-completion/completions/fstrim
/usr/share/man/man3/malloc_trim.3.gz
/usr/share/man/man8/fstrim.8.gz
/usr/share/tools/trim26lst
groucho@devuan:~$
Seems that the fstrim util is in/part of the Devuan ascii distribution.
And from the locate printout, it also seems that it has been run before.
groucho@devuan:~$ cat /home/groucho/trimmed_log.txt
[30/Nov/2018:10:44:10-0300] 1
[08/Dec/2018:19:12:32-0300] 1
--- snip ---
[17/Feb/2020:13:44:14-0300] 1
groucho@devuan:~$
The trimmed_log.txt (which for some strange reason is not in /var/log) only gives date, time and what would be the trim (?).
But ...
I only installed the SSD yesterday, no SSDs before that, so fstrim was working on some other drive.
I speculate that it was on the SAS drive replaced with the Kingston SSD ie: boot drive. (?)
Q:
1. How is fstrim set up and started?
2. Will it keep working now albeit on the SSD?
Some dates in /home/groucho/trimmed_log.txt are far apart and there are up to 30 entries with the same date (with trims as high as 24 so it does not seem to be a cron job.
So if it is not a cron job, what triggers it to run and how can it be modified?
Thanks in advance,
A.
Hello:
... a weekly cron job to run fstrim ...
... MX Linux has one you can "steal" ...
It seems that it is part of a 'goodies' package (how I abhor this goodies crap)
http://mxrepo.com/MX19packages.html
mx-goodies - 20.03.01
Version: 20.03.01
Section: system
Architecture: 32bit and 64bit
Description:
Includes:
* burniso (write an ISO image from cli)
* fancy-prompts (nine different colorful and interesting prompts)
* ps_initrd.sh (initrd packing/unpacking tool)
* zram (script to set up zram)
* ps_mem.py (RAM usage script)
* fstrim-mx (auto set up fstrim of SSE drives as a weekly cron job)
Homepage: http://antix.mepis.org
Maintainer: anticapitalista
Can't get just the fstrim-mx by itself?
# /etc/cron.weekly/fstrim
#!/bin/sh
LOG=/var/log/trim.log
echo "*** $(date -R) ***" >> $LOG
fstrim --all --verbose >> $LOG
OK.
Q: how come it is not in (any realease, actually) the devuan repository?
... don't bother following any obsolete advice ...
... have one of those Kingston drives and the longevity is great.
Good to know.
Cheers,
A.
Hello:
No ...
Unless your system is seriously memory-starved and swap comes into play often ...
I don't think it is the case here.
Flash drives do not cope too well with high read/write load cycles ...
Yes, I had read something about that.
I'll see if I can find if there is a utility that can log swap activity (I think I saw one once ...) over a set amount of time, say 30/60/120 days and evaluate the results.
I have enough relatively fast SAS 3.0Gb/sec rust so I could eventually set up an 8.0Gb swap partition on one of them.
Thanks for your input.
Cheers,
A.
Hello:
Thanks for the prompt reply. =-)
Partition/disk management in Linux takes place ...
Yes ...
I also found out that UUIDs get changed if you make changes in partitions.
In may case, I deleted and made a new larger swap file.
I still have to clean/tidy up my fstab file as it is a mix of UUID= and LABEL= lines.
... following the same syntax as a normal partition:
UUID=7af41fff-29cd-4f83-a099-aec1cb6eda8a none swap sw 0 0
Yes, the one I just set up is a bit different but it seems to work:
groucho@devuan:~$ cat /etc/fstab
--- snip ---
# swap partition in ssd
UUID=0797ed56-60ad-4f53-a9ab-39b6fb3aaccd none swap defaults 0 0
--- snip ---
Does a swap file in a SSD need any special settings?
Thanks for your input.
A.
Hello:
I recently came across a very good offer for a brand new/sealed Kingston SV300S37A/120G SSD on the local flebay and decided it would be a good candidate for my main drive.
At US$16.50 I could not pass it up.
I was about to use dd but I found this ...
https://www.pcsuggest.com/hdd-to-ssd-cloning-linux/
... and following the instructions I used the previously unknown to me pv utility to clone the drive:
# pv </deb/sdb> /dev/sda
In ~09:00 my 68Gb SAS drive was cloned to the new 120Gb SDD and with a progress bar. =-)
I then booted to an alternate instalation, pulled up gparted and resized the extended and /home partitions to take up the unallocated space.
A shutdown, removal of the 68Gb SAS drive and reboot after a BIOS boot drive order change found everything in it's proper place and working properly.
Up to here everything was OK.
So I shutdown again, replaced the 68Gb SAS drive in it's bay and rebooted but when I brought up gparted again to do some checking/cleaning up and I saw that the old /home and /swap partitions were locked.
Retracing my steps and knowing that BackInTime and Timeshift had me covered, I replaced the old drive and after booting into the alternate install, reformatted it to a 68Gb ext4 partition.
A reboot and inspection with gparted confirmed that everything was back to normal.
But this left me with a couple of questions:
1. how should I have checked that pv did everything properly?
2. what should I have changed/modified so that any partitions left in the old drive were ignored? Give the SAS drive a new UUID?
Also, my rig has 8.0Gb RAM and I can safely say that the swap partition is never (?) used.
I have kept it because I have the idea that there may be some applications that require the presence of a swap partition but I really cannot say.
Are there any system tweaks needed to keep the SSD in proper shape?
---
Edit:
I noted that the swap file was not activated so I activated it using gparted.
But the setting does not survive a reboot.
Besides setting swapon in gparted, is there anything else?
What am I missing?
---
Thanks in advance,
A.