Add new features into boot sequence app info
[platform/core/appfw/aul-1.git] / tool / aulctl / operation / status_all_operation.cc
index 7232f26..6579685 100644 (file)
@@ -42,6 +42,8 @@ bool StatusAllOperation::Process() {
 
     std::cout << "status: " << app->GetActiveState() << std::endl;
     std::cout << "sub status: " << app->GetSubState() << std::endl;
+    if (app->GetSubState() == "fail")
+      std::cout << "  message: " << app->GetStatusMessage() << std::endl;
 
     aul_app_context_h context;
     int ret = aul_app_context_create(app->GetAppId().c_str(), &context);
@@ -58,6 +60,13 @@ bool StatusAllOperation::Process() {
 
     std::cout << "begin: " << app->GetBeginTimestamp() << std::endl;
     std::cout << "end: " << app->GetEndTimestamp() << std::endl;
+
+    std::cout << "started time: " << app->GetSocketReadyTimestamp()
+              << std::endl;
+
+    std::cout << "termiated time: " << app->GetTerminatedTimestamp()
+              << std::endl;
+
     std::cout << "requires: ";
     for (auto& appid : app->RequiresGet())
       std::cout << appid << " ";