Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
howto.doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documentations
howto.doc
Commits
384701b8
Commit
384701b8
authored
5 years ago
by
ines mkacher
Browse files
Options
Downloads
Patches
Plain Diff
Update linux.md
parent
0c5e90ec
No related branches found
Branches containing commit
No related tags found
2 merge requests
!14
Mise à jour arborescence
,
!13
1.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
troubleshooting/linux.md
+39
-0
39 additions, 0 deletions
troubleshooting/linux.md
with
39 additions
and
0 deletions
troubleshooting/linux.md
+
39
−
0
View file @
384701b8
## Gestion de fichiers
lsof -p PID (listopenfiles)
netstat
screen
root@MaarchIntegration1904:~# ls -al /proc/31742/fd
total 0
dr-x------ 2 root root 0 mai 3 10:39 .
dr-xr-xr-x 9 root root 0 mai 3 10:17 ..
lr-x------ 1 root root 64 mai 3 10:39 0 -> /dev/null
l-wx------ 1 root root 64 mai 3 10:39 1 -> /dev/null
l-wx------ 1 root root 64 mai 3 10:39 2 -> /var/log/apache2/error.log
lrwx------ 1 root root 64 mai 3 10:39 3 -> socket:[52891]
lrwx------ 1 root root 64 mai 3 10:39 4 -> socket:[52892]
lr-x------ 1 root root 64 mai 3 10:39 5 -> pipe:[52023]
l-wx------ 1 root root 64 mai 3 10:39 6 -> pipe:[52023]
l-wx------ 1 root root 64 mai 3 10:39 7 -> /var/log/apache2/other_vhosts_access.log
ctr-c : arret du processus
ctr-d : fin de saisie (fermeture entrée standard)
ctr-z : detacher un process (bg|fg : backgroud|forground)
ctr-s : stop du pocesus (pause)
ctr-q : restart le process (arret de la pause)
lancer des process
nohup/detach
ctr+Z (avec le numero de job) bg detach
kill : laisse le temps au processus de ce terminer
kill -9 : tue le processus immediatement
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment