LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-26-2024, 01:31 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
"sort" from coreutils block root for a long time (3min) at boot; what is this in Debian11 64bits?


At boot, I see the process
Quote:
/usr/bin/sort -z
running which block my apt-get upgrade
sort is from coreutils and is version 8.32-4+b1

my system is a Debian Gnome 64bits
uname -v
Quote:
#1 SMP Debian 5.10.205-2 (2023-12-31)
Any idea why this sort must run and what it does? Any hint is welcome (no urgency: the PC works)

Sort is described there https://www.gnu.org/software/coreuti...ort-invocation
Quote:
‘-z’
‘--zero-terminated’

Delimit items with a zero byte rather than a newline (ASCII LF). I.e., treat input as items separated by ASCII NUL and terminate output items with ASCII NUL. This option can be useful in conjunction with ‘perl -0’ or ‘find -print0’ and ‘xargs -0’ which do the same in order to reliably handle arbitrary file names (even those containing blanks or other special characters).
 
Old 01-26-2024, 08:32 AM   #2
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Hi

It could be locate. There are 2 different ones, one old and a newer called plocate. Both basically scan the entire disk for files, sorts them, and let's you search for files by name. It takes some time to scan, and I think the old version was mostly a shell script.

It could also be some other tool. You can use "pstree" to get a tree of all processes. Then look for sort, and see what the parent is.
 
  


Reply

Tags
debian 11, sort



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PCI express Startech PEX4S553B 4 port RS232 [9710:9904]: will work or not? (Debian11 64bits) floppy_stuttgart Linux - Hardware 6 08-31-2021 12:43 PM
Long time member, long time *nix user, about time to say hi. stuman LinuxQuestions.org Member Intro 0 10-15-2013 07:35 AM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
To be 64bits or not to be 64bits, that's the question... Mega Man X General 9 01-11-2008 09:26 AM
Why NFS service takes 3min to startup? dbiswas_slg Linux - Newbie 5 10-12-2006 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration