【请教】深度系统监视器是如何区分应用程序和进程的?
Tofloor
poster avatar
137******47
deepin
2018-02-18 00:46
Author

就像上面这幅图片,是如何区分哪些是应用程序,哪些是进程的呢??这个不太懂。
我原来认为的都是进程。

Reply Favorite View the author
All Replies
justforlxz
deepin developers team
2018-02-18 03:30
#1
都是进程,只不过从里面单独过滤出了带有图形的程序而已。
Reply View the author
137******47
deepin
2018-02-18 18:02
#2
https://bbs.deepin.org/post/153335
都是进程,只不过从里面单独过滤出了带有图形的程序而已。

您说的带有图形是什么意思?哪里带有图形?
Reply View the author
justforlxz
deepin developers team
2018-02-18 19:49
#3
https://bbs.deepin.org/post/153335
您说的带有图形是什么意思?哪里带有图形?

有界面的程序
Reply View the author
rekols
deepin
2018-02-18 20:15
#4
Reply View the author
158******08
deepin
2018-02-19 02:30
#5
在github的deepin-system-monitor里的src/status_monitor.cpp里的updateStatus函数的262到266横是这么一段
  1.         if (isGui) {
  2.             guiProcessNumber++;
  3.         } else {
  4.             systemProcessNumber++;
  5. }
Copy the Code

基本就是靠Gui应用来判断了
Reply View the author
137******47
deepin
2018-02-22 23:53
#6
https://bbs.deepin.org/post/153335
在github的deepin-system-monitor里的src/status_monitor.cpp里的updateStatus函数的262到266横是这么一段
...

牛,崇拜!!!!
学习了
Reply View the author