AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1035095

Алексей Пашнин's questions

Martin Hope
palmasd1
Asked: 2024-04-26 13:57:39 +0800 CST

ps 是否只能显示父进程?

  • 5

我正在解析输出,ps并且不需要父进程的所有子进程

/usr/bin/postgres -D /var/lib/pgsql/data -p 1488
 \_ postgres: logger process
 \_ postgres: checkpointer process
 \_ postgres: writer process
 \_ postgres: wal writer process
 \_ postgres: autovacuum launcher process
 \_ postgres: stats collector process

有没有办法只显示

/usr/bin/postgres -D /var/lib/pgsql/data -p 1488

ps除了仪器之外还有其他方法可以列出所有正在运行的父进程吗?

process
  • 1 个回答
  • 44 Views
Martin Hope
Алексей Пашнин
Asked: 2023-12-19 21:05:47 +0800 CST

如何禁用 Nginx 测试消息打印?

  • 5

有没有办法删除nginx:消息

nginx: [warn] conflicting server name "domain" on ip:port, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

使用nginx -T命令时?

nginx
  • 2 个回答
  • 28 Views
Martin Hope
Алексей Пашнин
Asked: 2023-10-31 18:46:41 +0800 CST

为什么 smartctl 不显示重新分配的扇区数?

  • 5

我有我的同事之前准备的 smartctl 查询。

smartctl -d ata -a {disk_name} | awk '/Reallocated_Sector_Ct/{print $10}'

我正在尝试使用该查询,但它什么也没打印。查询smartctl -d ata -a {disk_name}输出没有Reallocated_Sector_Ct字段。如何知道该字段是否不存在,因为磁盘不应该有该字段,或者我做了错误的查询?

linux
  • 2 个回答
  • 75 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve